1.0.0

org.eclipse.soda.dk.rfid.inventory.profile.test.agent
Class RfidInventoryProfileAbstractTestCase

java.lang.Object
  extended by ProfileAbstractTestCase
      extended by org.eclipse.soda.dk.rfid.inventory.profile.test.agent.RfidInventoryProfileAbstractTestCase
Direct Known Subclasses:
RfidInventoryProfileDisconnectTestCase, RfidInventoryProfileMultipleTagsTestCase, RfidInventoryProfileNoTagsTestCase, RfidInventoryProfileSingleTagTestCase

public abstract class RfidInventoryProfileAbstractTestCase
extends ProfileAbstractTestCase

Version:
1.0.0

Field Summary
protected static java.lang.String AND_EXPRESSION
          Define the and expression (String) constant.
protected static long BIT_1
          Define the bit1 (long) constant.
protected static long BIT_2
          Define the bit2 (long) constant.
protected static long BIT_32
          Define the bit32 (long) constant.
protected  java.util.Set configuredTags
          Define the configured tags (Set) field.
protected  java.lang.String controlProfileServiceBitsExternalKey
          Define the control profile service bits external key (String) field.
protected  java.lang.String controlProfileServiceLongsExternalKey
          Define the control profile service longs external key (String) field.
protected static int DEFAULT_TAG_READ_DURATION
          Define the default tag read duration (int) constant.
protected  java.lang.String gpioProfileServiceInputExternalKey
          Define the gpio profile service input external key (String) field.
protected  java.util.Set interestedTags
          Define the interested tags (Set) field.
protected static java.lang.String INVALID_EXPRESSION
          Define the invalid expression (String) constant.
protected static java.lang.String INVALID_MASK
          Define the invalid mask (String) constant.
protected static java.lang.String OR_EXPRESSION
          Define the or expression (String) constant.
protected  int readDurationProperty
          Define the read duration property (int) field.
protected  java.lang.String readerIdProperty
          Define the reader id property (String) field.
protected  java.lang.String rfidInventoryProfileServiceAggregationMaskSettingExternalKey
          Define the rfid inventory profile service aggregation mask setting external key (String) field.
protected  java.lang.String rfidInventoryProfileServiceCapabilitiesExternalKey
          Define the rfid inventory profile service capabilities external key (String) field.
protected  java.lang.String rfidInventoryProfileServiceConfigurationExternalKey
          Define the rfid inventory profile service configuration external key (String) field.
protected  java.lang.String rfidInventoryProfileServiceDataExtensionsExternalKey
          Define the rfid inventory profile service data extensions external key (String) field.
protected  java.lang.String rfidInventoryProfileServiceDuplicateFilteringExpressionExternalKey
          Define the rfid inventory profile service duplicate filtering expression external key (String) field.
protected  java.lang.String rfidInventoryProfileServiceDuplicateFilteringExternalKey
          Define the rfid inventory profile service duplicate filtering external key (String) field.
protected  java.lang.String rfidInventoryProfileServiceStatusExternalKey
          Define the rfid inventory profile service status external key (String) field.
protected  java.lang.String rfidInventoryProfileServiceTagAggregatingExpressionExternalKey
          Define the rfid inventory profile service tag aggregating expression external key (String) field.
protected  java.lang.String rfidInventoryProfileServiceTagAggregatingExternalKey
          Define the rfid inventory profile service tag aggregating external key (String) field.
protected  java.lang.String rfidInventoryProfileServiceTagAggregationReportExternalKey
          Define the rfid inventory profile service tag aggregation report external key (String) field.
protected  java.lang.String rfidInventoryProfileServiceTagMaskSettingExternalKey
          Define the rfid inventory profile service tag mask setting external key (String) field.
protected  java.lang.String rfidInventoryProfileServiceTagReadingExpressionExternalKey
          Define the rfid inventory profile service tag reading expression external key (String) field.
protected  java.lang.String rfidInventoryProfileServiceTagReadingExternalKey
          Define the rfid inventory profile service tag reading external key (String) field.
protected  java.lang.String rfidInventoryProfileServiceTagReportExternalKey
          Define the rfid inventory profile service tag report external key (String) field.
protected  java.lang.String tagListProperty
          Define the tag list property (String) field.
protected  java.lang.String tagMaskProperty
          Define the tag mask property (String) field.
 
Constructor Summary
RfidInventoryProfileAbstractTestCase(java.lang.String name)
          Constructs a new instance of the InventoryProfileBaseTestCase class.
 
Method Summary
protected  int countTagAggregationReports()
          Count tag aggregation reports and return the int result.
protected  int countTagReports()
          Count tag reports and return the int result.
protected  java.lang.String getAggregationMaskSetting()
          Gets the aggregation mask setting (String) value.
protected  java.util.ArrayList getAllTagAggregationReports()
          Gets the all tag aggregation reports (ArrayList) value.
protected  java.util.ArrayList getAllTagReports()
          Gets the all tag reports (ArrayList) value.
protected  java.util.Map getBitsData(long bits)
          Get bits data with the specified bits parameter and return the Map result.
protected  java.util.Dictionary getCapabilities()
          Gets the capabilities (Dictionary) value.
protected  java.util.Dictionary getConfiguration()
          Gets the configuration (Dictionary) value.
protected  java.util.Map getDataExtensions()
          Gets the data extensions (Map) value.
protected  java.lang.Boolean getDuplicateFiltering()
          Gets the duplicate filtering (Boolean) value.
protected  java.lang.String getDuplicateFilteringExpression()
          Gets the duplicate filtering expression (String) value.
protected  java.lang.String[] getExternalKeys()
          Gets the external keys (String[]) value.
protected  java.util.Map getInputsData(long bits)
          Get inputs data with the specified bits parameter and return the Map result.
protected  void getKeysAndSettingsFromProperties()
          Get keys and settings from properties.
protected  java.util.Map getLastTagAggregationReport()
          Gets the last tag aggregation report (Map) value.
protected  java.util.Map getLastTagReport()
          Gets the last tag report (Map) value.
protected  java.util.Map getLongsData(long bits)
          Get longs data with the specified bits parameter and return the Map result.
 NotificationService getNotificationService()
          Gets the notification service value.
protected  java.util.Dictionary getStatus()
          Gets the status (Dictionary) value.
protected  java.lang.Boolean getTagAggregating()
          Gets the tag aggregating (Boolean) value.
protected  java.lang.String getTagAggregatingExpression()
          Gets the tag aggregating expression (String) value.
protected  java.lang.String getTagMaskSetting()
          Gets the tag mask setting (String) value.
protected  java.lang.Boolean getTagReading()
          Gets the tag reading (Boolean) value.
protected  java.lang.String getTagReadingExpression()
          Gets the tag reading expression (String) value.
protected  java.util.List getTagsFromTagAggregationReports(java.util.Map expectedDataExtensions)
          Get tags from tag aggregation reports with the specified expected data extensions parameter and return the List result.
protected  java.util.List getTagsFromTagReports(java.util.Map expectedDataExtensions)
          Get tags from tag reports with the specified expected data extensions parameter and return the List result.
protected  java.lang.String readAggregationMaskSetting()
          Read aggregation mask setting and return the String result.
protected  void readAndVerifyTags(java.util.Set expectedTags, java.util.Map expectedDataExtensions, boolean noDuplicatesAllowed)
          Read and verify tags with the specified expected tags, expected data extensions and no duplicates allowed parameters.
protected  java.util.Map readDataExtensions()
          Read data extensions and return the Map result.
protected  java.lang.Boolean readDuplicateFiltering()
          Read duplicate filtering and return the Boolean result.
protected  java.lang.String readDuplicateFilteringExpression()
          Read duplicate filtering expression and return the String result.
protected  java.lang.Boolean readTagAggregating()
          Read tag aggregating and return the Boolean result.
protected  java.lang.String readTagAggregatingExpression()
          Read tag aggregating expression and return the String result.
protected  java.lang.String readTagMaskSetting()
          Read tag mask setting and return the String result.
protected  java.lang.Boolean readTagReading()
          Read tag reading and return the Boolean result.
protected  java.lang.String readTagReadingExpression()
          Read tag reading expression and return the String result.
protected  void reportBits(java.util.Map dataValue)
          Report bits with the specified data value parameter.
protected  void reportInput(java.util.Map dataValue)
          Report input with the specified data value parameter.
protected  void reportLongs(java.util.Map dataValue)
          Report longs with the specified data value parameter.
protected  void tearDown()
          Tear down.
protected  void verifyAggregationReceived(java.util.Set expectedTags, java.util.Map expectedDataExtensions, boolean noDuplicatesAllowed)
          Verify aggregation received with the specified expected tags, expected data extensions and no duplicates allowed parameters.
 void verifyDuplicateFiltering(java.util.Set expectedTags)
          Verify duplicate filtering with the specified expected tags parameter.
 void verifyDuplicateFilteringExpression(java.util.Set expectedTags)
          Verify duplicate filtering expression with the specified expected tags parameter.
protected  void verifyExpectedTagsReceived(java.util.Set expectedTags, java.util.Map expectedDataExtensions, boolean noDuplicatesAllowed)
          Verify expected tags received with the specified expected tags, expected data extensions and no duplicates allowed parameters.
protected  void verifyNoAggregationReceived()
          Verify no aggregation received.
 void verifyTagAggregatingExpression(java.util.Set expectedTags)
          Verify tag aggregating expression with the specified expected tags parameter.
 void verifyTagReadingAndAggregation(java.util.Set expectedTags)
          Verify tag reading and aggregation with the specified expected tags parameter.
 void verifyTagReadingAndAggregation(java.util.Set expectedTags, java.util.Map expectedDataExtensions)
          Verify tag reading and aggregation with the specified expected tags and expected data extensions parameters.
 void verifyTagReadingExpression(java.util.Set expectedTags)
          Verify tag reading expression with the specified expected tags parameter.
protected  java.util.List verifyTagReads(java.util.ArrayList tagReports, java.util.Map expectedDataExtensions)
          Verify tag reads with the specified tag reports and expected data extensions parameters and return the List result.
protected  int waitForSignalIgnoringErrors(java.lang.String topicKey, int expectedCount, int duration)
          Wait for signal ignoring errors with the specified topic key, expected count and duration parameters and return the int result.
protected  int waitForTagAggregationReports(int expectedCount, int duration)
          Wait for tag aggregation reports with the specified expected count and duration parameters and return the int result.
protected  int waitForTagReports(int expectedCount, int duration)
          Wait for tag reports with the specified expected count and duration parameters and return the int result.
protected  void writeAggregationMaskSetting(java.lang.String dataValue)
          Write aggregation mask setting with the specified data value parameter.
protected  void writeDataExtensions(java.util.Map dataValue)
          Write data extensions with the specified data value parameter.
protected  void writeDuplicateFiltering(java.lang.Boolean dataValue)
          Write duplicate filtering with the specified data value parameter.
protected  void writeDuplicateFilteringExpression(java.lang.String dataValue)
          Write duplicate filtering expression with the specified data value parameter.
protected  void writeTagAggregating(java.lang.Boolean dataValue)
          Write tag aggregating with the specified data value parameter.
protected  void writeTagAggregatingExpression(java.lang.String dataValue)
          Write tag aggregating expression with the specified data value parameter.
protected  void writeTagMaskSetting(java.lang.String dataValue)
          Write tag mask setting with the specified data value parameter.
protected  void writeTagReading(java.lang.Boolean dataValue)
          Write tag reading with the specified data value parameter.
protected  void writeTagReadingExpression(java.lang.String dataValue)
          Write tag reading expression with the specified data value parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TAG_READ_DURATION

protected static final int DEFAULT_TAG_READ_DURATION
Define the default tag read duration (int) constant.

See Also:
Constant Field Values

AND_EXPRESSION

protected static final java.lang.String AND_EXPRESSION
Define the and expression (String) constant.

See Also:
Constant Field Values

OR_EXPRESSION

protected static final java.lang.String OR_EXPRESSION
Define the or expression (String) constant.

See Also:
Constant Field Values

INVALID_EXPRESSION

protected static final java.lang.String INVALID_EXPRESSION
Define the invalid expression (String) constant.

See Also:
Constant Field Values

INVALID_MASK

protected static final java.lang.String INVALID_MASK
Define the invalid mask (String) constant.

See Also:
Constant Field Values

BIT_1

protected static final long BIT_1
Define the bit1 (long) constant.

See Also:
Constant Field Values

BIT_2

protected static final long BIT_2
Define the bit2 (long) constant.

See Also:
Constant Field Values

BIT_32

protected static final long BIT_32
Define the bit32 (long) constant.

See Also:
Constant Field Values

readerIdProperty

protected java.lang.String readerIdProperty
Define the reader id property (String) field.


tagListProperty

protected java.lang.String tagListProperty
Define the tag list property (String) field.


tagMaskProperty

protected java.lang.String tagMaskProperty
Define the tag mask property (String) field.


readDurationProperty

protected int readDurationProperty
Define the read duration property (int) field.


rfidInventoryProfileServiceStatusExternalKey

protected java.lang.String rfidInventoryProfileServiceStatusExternalKey
Define the rfid inventory profile service status external key (String) field.


rfidInventoryProfileServiceCapabilitiesExternalKey

protected java.lang.String rfidInventoryProfileServiceCapabilitiesExternalKey
Define the rfid inventory profile service capabilities external key (String) field.


rfidInventoryProfileServiceConfigurationExternalKey

protected java.lang.String rfidInventoryProfileServiceConfigurationExternalKey
Define the rfid inventory profile service configuration external key (String) field.


rfidInventoryProfileServiceTagReadingExpressionExternalKey

protected java.lang.String rfidInventoryProfileServiceTagReadingExpressionExternalKey
Define the rfid inventory profile service tag reading expression external key (String) field.


rfidInventoryProfileServiceTagReadingExternalKey

protected java.lang.String rfidInventoryProfileServiceTagReadingExternalKey
Define the rfid inventory profile service tag reading external key (String) field.


rfidInventoryProfileServiceTagAggregatingExpressionExternalKey

protected java.lang.String rfidInventoryProfileServiceTagAggregatingExpressionExternalKey
Define the rfid inventory profile service tag aggregating expression external key (String) field.


rfidInventoryProfileServiceTagAggregatingExternalKey

protected java.lang.String rfidInventoryProfileServiceTagAggregatingExternalKey
Define the rfid inventory profile service tag aggregating external key (String) field.


rfidInventoryProfileServiceTagMaskSettingExternalKey

protected java.lang.String rfidInventoryProfileServiceTagMaskSettingExternalKey
Define the rfid inventory profile service tag mask setting external key (String) field.


rfidInventoryProfileServiceDuplicateFilteringExternalKey

protected java.lang.String rfidInventoryProfileServiceDuplicateFilteringExternalKey
Define the rfid inventory profile service duplicate filtering external key (String) field.


rfidInventoryProfileServiceDuplicateFilteringExpressionExternalKey

protected java.lang.String rfidInventoryProfileServiceDuplicateFilteringExpressionExternalKey
Define the rfid inventory profile service duplicate filtering expression external key (String) field.


rfidInventoryProfileServiceAggregationMaskSettingExternalKey

protected java.lang.String rfidInventoryProfileServiceAggregationMaskSettingExternalKey
Define the rfid inventory profile service aggregation mask setting external key (String) field.


rfidInventoryProfileServiceDataExtensionsExternalKey

protected java.lang.String rfidInventoryProfileServiceDataExtensionsExternalKey
Define the rfid inventory profile service data extensions external key (String) field.


rfidInventoryProfileServiceTagReportExternalKey

protected java.lang.String rfidInventoryProfileServiceTagReportExternalKey
Define the rfid inventory profile service tag report external key (String) field.


rfidInventoryProfileServiceTagAggregationReportExternalKey

protected java.lang.String rfidInventoryProfileServiceTagAggregationReportExternalKey
Define the rfid inventory profile service tag aggregation report external key (String) field.


gpioProfileServiceInputExternalKey

protected java.lang.String gpioProfileServiceInputExternalKey
Define the gpio profile service input external key (String) field.


controlProfileServiceBitsExternalKey

protected java.lang.String controlProfileServiceBitsExternalKey
Define the control profile service bits external key (String) field.


controlProfileServiceLongsExternalKey

protected java.lang.String controlProfileServiceLongsExternalKey
Define the control profile service longs external key (String) field.


configuredTags

protected java.util.Set configuredTags
Define the configured tags (Set) field.


interestedTags

protected java.util.Set interestedTags
Define the interested tags (Set) field.

Constructor Detail

RfidInventoryProfileAbstractTestCase

public RfidInventoryProfileAbstractTestCase(java.lang.String name)
Constructs a new instance of the InventoryProfileBaseTestCase class.

Parameters:
name - The name (String) parameter.
Method Detail

countTagAggregationReports

protected int countTagAggregationReports()
Count tag aggregation reports and return the int result.

Returns:
Results of the count tag aggregation reports (int) value.
See Also:
getAllTagAggregationReports(), getTagsFromTagAggregationReports(Map), waitForTagAggregationReports(int,int)

countTagReports

protected int countTagReports()
Count tag reports and return the int result.

Returns:
Results of the count tag reports (int) value.
See Also:
getAllTagReports(), getTagsFromTagReports(Map), waitForTagReports(int,int)

getAggregationMaskSetting

protected java.lang.String getAggregationMaskSetting()
                                              throws java.lang.InterruptedException
Gets the aggregation mask setting (String) value.

Returns:
The aggregation mask setting (String) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
readAggregationMaskSetting(), writeAggregationMaskSetting(String)

getAllTagAggregationReports

protected java.util.ArrayList getAllTagAggregationReports()
Gets the all tag aggregation reports (ArrayList) value.

Returns:
The all tag aggregation reports (ArrayList) value.

getAllTagReports

protected java.util.ArrayList getAllTagReports()
Gets the all tag reports (ArrayList) value.

Returns:
The all tag reports (ArrayList) value.

getBitsData

protected java.util.Map getBitsData(long bits)
Get bits data with the specified bits parameter and return the Map result.

Parameters:
bits - The bits (long) parameter.
Returns:
Results of the get bits data (Map) value.

getCapabilities

protected java.util.Dictionary getCapabilities()
                                        throws java.lang.InterruptedException
Gets the capabilities (Dictionary) value.

Returns:
The capabilities (Dictionary) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.

getConfiguration

protected java.util.Dictionary getConfiguration()
                                         throws java.lang.InterruptedException
Gets the configuration (Dictionary) value.

Returns:
The configuration (Dictionary) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.

getDataExtensions

protected java.util.Map getDataExtensions()
                                   throws java.lang.InterruptedException
Gets the data extensions (Map) value.

Returns:
The data extensions (Map) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
readDataExtensions(), writeDataExtensions(Map)

getDuplicateFiltering

protected java.lang.Boolean getDuplicateFiltering()
                                           throws java.lang.InterruptedException
Gets the duplicate filtering (Boolean) value.

Returns:
The duplicate filtering (Boolean) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
readDuplicateFiltering(), verifyDuplicateFiltering(Set), writeDuplicateFiltering(Boolean)

getDuplicateFilteringExpression

protected java.lang.String getDuplicateFilteringExpression()
                                                    throws java.lang.InterruptedException
Gets the duplicate filtering expression (String) value.

Returns:
The duplicate filtering expression (String) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
readDuplicateFilteringExpression(), verifyDuplicateFilteringExpression(Set), writeDuplicateFilteringExpression(String)

getExternalKeys

protected java.lang.String[] getExternalKeys()
Gets the external keys (String[]) value.

Returns:
The external keys (String[]) value.

getInputsData

protected java.util.Map getInputsData(long bits)
Get inputs data with the specified bits parameter and return the Map result.

Parameters:
bits - The bits (long) parameter.
Returns:
Results of the get inputs data (Map) value.

getKeysAndSettingsFromProperties

protected void getKeysAndSettingsFromProperties()
Get keys and settings from properties.


getLastTagAggregationReport

protected java.util.Map getLastTagAggregationReport()
Gets the last tag aggregation report (Map) value.

Returns:
The last tag aggregation report (Map) value.

getLastTagReport

protected java.util.Map getLastTagReport()
Gets the last tag report (Map) value.

Returns:
The last tag report (Map) value.

getLongsData

protected java.util.Map getLongsData(long bits)
Get longs data with the specified bits parameter and return the Map result.

Parameters:
bits - The bits (long) parameter.
Returns:
Results of the get longs data (Map) value.

getNotificationService

public NotificationService getNotificationService()
Gets the notification service value.

Returns:
The notification service (NotificationService) value.

getStatus

protected java.util.Dictionary getStatus()
                                  throws java.lang.InterruptedException
Gets the status (Dictionary) value.

Returns:
The status (Dictionary) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.

getTagAggregating

protected java.lang.Boolean getTagAggregating()
                                       throws java.lang.InterruptedException
Gets the tag aggregating (Boolean) value.

Returns:
The tag aggregating (Boolean) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
readTagAggregating(), writeTagAggregating(Boolean)

getTagAggregatingExpression

protected java.lang.String getTagAggregatingExpression()
                                                throws java.lang.InterruptedException
Gets the tag aggregating expression (String) value.

Returns:
The tag aggregating expression (String) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
readTagAggregatingExpression(), verifyTagAggregatingExpression(Set), writeTagAggregatingExpression(String)

getTagMaskSetting

protected java.lang.String getTagMaskSetting()
                                      throws java.lang.InterruptedException
Gets the tag mask setting (String) value.

Returns:
The tag mask setting (String) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
readTagMaskSetting(), writeTagMaskSetting(String)

getTagReading

protected java.lang.Boolean getTagReading()
                                   throws java.lang.InterruptedException
Gets the tag reading (Boolean) value.

Returns:
The tag reading (Boolean) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
readTagReading(), writeTagReading(Boolean)

getTagReadingExpression

protected java.lang.String getTagReadingExpression()
                                            throws java.lang.InterruptedException
Gets the tag reading expression (String) value.

Returns:
The tag reading expression (String) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
readTagReadingExpression(), verifyTagReadingExpression(Set), writeTagReadingExpression(String)

getTagsFromTagAggregationReports

protected java.util.List getTagsFromTagAggregationReports(java.util.Map expectedDataExtensions)
Get tags from tag aggregation reports with the specified expected data extensions parameter and return the List result.

Parameters:
expectedDataExtensions - The expected data extensions (Map) parameter.
Returns:
Results of the get tags from tag aggregation reports (List) value.

getTagsFromTagReports

protected java.util.List getTagsFromTagReports(java.util.Map expectedDataExtensions)
Get tags from tag reports with the specified expected data extensions parameter and return the List result.

Parameters:
expectedDataExtensions - The expected data extensions (Map) parameter.
Returns:
Results of the get tags from tag reports (List) value.

readAggregationMaskSetting

protected java.lang.String readAggregationMaskSetting()
                                               throws java.lang.InterruptedException
Read aggregation mask setting and return the String result.

Returns:
Results of the read aggregation mask setting (String) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getAggregationMaskSetting(), writeAggregationMaskSetting(String)

readAndVerifyTags

protected void readAndVerifyTags(java.util.Set expectedTags,
                                 java.util.Map expectedDataExtensions,
                                 boolean noDuplicatesAllowed)
                          throws java.lang.InterruptedException
Read and verify tags with the specified expected tags, expected data extensions and no duplicates allowed parameters.

Parameters:
expectedTags - The expected tags (Set) parameter.
expectedDataExtensions - The expected data extensions (Map) parameter.
noDuplicatesAllowed - The no duplicates allowed (boolean) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.

readDataExtensions

protected java.util.Map readDataExtensions()
                                    throws java.lang.InterruptedException
Read data extensions and return the Map result.

Returns:
Results of the read data extensions (Map) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getDataExtensions(), writeDataExtensions(Map)

readDuplicateFiltering

protected java.lang.Boolean readDuplicateFiltering()
                                            throws java.lang.InterruptedException
Read duplicate filtering and return the Boolean result.

Returns:
Results of the read duplicate filtering (Boolean) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getDuplicateFiltering(), verifyDuplicateFiltering(Set), writeDuplicateFiltering(Boolean)

readDuplicateFilteringExpression

protected java.lang.String readDuplicateFilteringExpression()
                                                     throws java.lang.InterruptedException
Read duplicate filtering expression and return the String result.

Returns:
Results of the read duplicate filtering expression (String) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getDuplicateFilteringExpression(), verifyDuplicateFilteringExpression(Set), writeDuplicateFilteringExpression(String)

readTagAggregating

protected java.lang.Boolean readTagAggregating()
                                        throws java.lang.InterruptedException
Read tag aggregating and return the Boolean result.

Returns:
Results of the read tag aggregating (Boolean) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getTagAggregating(), writeTagAggregating(Boolean)

readTagAggregatingExpression

protected java.lang.String readTagAggregatingExpression()
                                                 throws java.lang.InterruptedException
Read tag aggregating expression and return the String result.

Returns:
Results of the read tag aggregating expression (String) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getTagAggregatingExpression(), verifyTagAggregatingExpression(Set), writeTagAggregatingExpression(String)

readTagMaskSetting

protected java.lang.String readTagMaskSetting()
                                       throws java.lang.InterruptedException
Read tag mask setting and return the String result.

Returns:
Results of the read tag mask setting (String) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getTagMaskSetting(), writeTagMaskSetting(String)

readTagReading

protected java.lang.Boolean readTagReading()
                                    throws java.lang.InterruptedException
Read tag reading and return the Boolean result.

Returns:
Results of the read tag reading (Boolean) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getTagReading(), writeTagReading(Boolean)

readTagReadingExpression

protected java.lang.String readTagReadingExpression()
                                             throws java.lang.InterruptedException
Read tag reading expression and return the String result.

Returns:
Results of the read tag reading expression (String) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getTagReadingExpression(), verifyTagReadingExpression(Set), writeTagReadingExpression(String)

reportBits

protected void reportBits(java.util.Map dataValue)
Report bits with the specified data value parameter.

Parameters:
dataValue - The data value (Map) parameter.

reportInput

protected void reportInput(java.util.Map dataValue)
Report input with the specified data value parameter.

Parameters:
dataValue - The data value (Map) parameter.

reportLongs

protected void reportLongs(java.util.Map dataValue)
Report longs with the specified data value parameter.

Parameters:
dataValue - The data value (Map) parameter.

tearDown

protected void tearDown()
                 throws java.lang.Exception
Tear down.

Throws:
java.lang.Exception

verifyAggregationReceived

protected void verifyAggregationReceived(java.util.Set expectedTags,
                                         java.util.Map expectedDataExtensions,
                                         boolean noDuplicatesAllowed)
                                  throws java.lang.InterruptedException
Verify aggregation received with the specified expected tags, expected data extensions and no duplicates allowed parameters.

Parameters:
expectedTags - The expected tags (Set) parameter.
expectedDataExtensions - The expected data extensions (Map) parameter.
noDuplicatesAllowed - The no duplicates allowed (boolean) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
verifyNoAggregationReceived()

verifyDuplicateFiltering

public void verifyDuplicateFiltering(java.util.Set expectedTags)
                              throws java.lang.InterruptedException
Verify duplicate filtering with the specified expected tags parameter.

Parameters:
expectedTags - The expected tags (Set) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getDuplicateFiltering(), readDuplicateFiltering(), writeDuplicateFiltering(Boolean)

verifyDuplicateFilteringExpression

public void verifyDuplicateFilteringExpression(java.util.Set expectedTags)
                                        throws java.lang.InterruptedException
Verify duplicate filtering expression with the specified expected tags parameter.

Parameters:
expectedTags - The expected tags (Set) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getDuplicateFilteringExpression(), readDuplicateFilteringExpression(), writeDuplicateFilteringExpression(String)

verifyExpectedTagsReceived

protected void verifyExpectedTagsReceived(java.util.Set expectedTags,
                                          java.util.Map expectedDataExtensions,
                                          boolean noDuplicatesAllowed)
Verify expected tags received with the specified expected tags, expected data extensions and no duplicates allowed parameters.

Parameters:
expectedTags - The expected tags (Set) parameter.
expectedDataExtensions - The expected data extensions (Map) parameter.
noDuplicatesAllowed - The no duplicates allowed (boolean) parameter.

verifyNoAggregationReceived

protected void verifyNoAggregationReceived()
Verify no aggregation received.


verifyTagAggregatingExpression

public void verifyTagAggregatingExpression(java.util.Set expectedTags)
                                    throws java.lang.InterruptedException
Verify tag aggregating expression with the specified expected tags parameter.

Parameters:
expectedTags - The expected tags (Set) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getTagAggregatingExpression(), readTagAggregatingExpression(), writeTagAggregatingExpression(String)

verifyTagReadingAndAggregation

public void verifyTagReadingAndAggregation(java.util.Set expectedTags)
                                    throws java.lang.InterruptedException
Verify tag reading and aggregation with the specified expected tags parameter.

Parameters:
expectedTags - The expected tags (Set) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
verifyTagReadingAndAggregation(Set,Map)

verifyTagReadingAndAggregation

public void verifyTagReadingAndAggregation(java.util.Set expectedTags,
                                           java.util.Map expectedDataExtensions)
                                    throws java.lang.InterruptedException
Verify tag reading and aggregation with the specified expected tags and expected data extensions parameters.

Parameters:
expectedTags - The expected tags (Set) parameter.
expectedDataExtensions - The expected data extensions (Map) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
verifyTagReadingAndAggregation(Set)

verifyTagReadingExpression

public void verifyTagReadingExpression(java.util.Set expectedTags)
                                throws java.lang.InterruptedException
Verify tag reading expression with the specified expected tags parameter.

Parameters:
expectedTags - The expected tags (Set) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getTagReadingExpression(), readTagReadingExpression(), writeTagReadingExpression(String)

verifyTagReads

protected java.util.List verifyTagReads(java.util.ArrayList tagReports,
                                        java.util.Map expectedDataExtensions)
Verify tag reads with the specified tag reports and expected data extensions parameters and return the List result.

Parameters:
tagReports - The tag reports (ArrayList) parameter.
expectedDataExtensions - The expected data extensions (Map) parameter.
Returns:
Results of the verify tag reads (List) value.

waitForTagAggregationReports

protected int waitForTagAggregationReports(int expectedCount,
                                           int duration)
                                    throws java.lang.InterruptedException
Wait for tag aggregation reports with the specified expected count and duration parameters and return the int result.

Parameters:
expectedCount - The expected count (int) parameter.
duration - The duration (int) parameter.
Returns:
Results of the wait for tag aggregation reports (int) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.

waitForTagReports

protected int waitForTagReports(int expectedCount,
                                int duration)
                         throws java.lang.InterruptedException
Wait for tag reports with the specified expected count and duration parameters and return the int result.

Parameters:
expectedCount - The expected count (int) parameter.
duration - The duration (int) parameter.
Returns:
Results of the wait for tag reports (int) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.

writeAggregationMaskSetting

protected void writeAggregationMaskSetting(java.lang.String dataValue)
                                    throws java.lang.InterruptedException
Write aggregation mask setting with the specified data value parameter.

Parameters:
dataValue - The data value (String) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getAggregationMaskSetting(), readAggregationMaskSetting()

writeDataExtensions

protected void writeDataExtensions(java.util.Map dataValue)
                            throws java.lang.InterruptedException
Write data extensions with the specified data value parameter.

Parameters:
dataValue - The data value (Map) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getDataExtensions(), readDataExtensions()

writeDuplicateFiltering

protected void writeDuplicateFiltering(java.lang.Boolean dataValue)
                                throws java.lang.InterruptedException
Write duplicate filtering with the specified data value parameter.

Parameters:
dataValue - The data value (Boolean) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getDuplicateFiltering(), readDuplicateFiltering(), verifyDuplicateFiltering(Set)

writeDuplicateFilteringExpression

protected void writeDuplicateFilteringExpression(java.lang.String dataValue)
                                          throws java.lang.InterruptedException
Write duplicate filtering expression with the specified data value parameter.

Parameters:
dataValue - The data value (String) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getDuplicateFilteringExpression(), readDuplicateFilteringExpression(), verifyDuplicateFilteringExpression(Set)

writeTagAggregating

protected void writeTagAggregating(java.lang.Boolean dataValue)
                            throws java.lang.InterruptedException
Write tag aggregating with the specified data value parameter.

Parameters:
dataValue - The data value (Boolean) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getTagAggregating(), readTagAggregating()

writeTagAggregatingExpression

protected void writeTagAggregatingExpression(java.lang.String dataValue)
                                      throws java.lang.InterruptedException
Write tag aggregating expression with the specified data value parameter.

Parameters:
dataValue - The data value (String) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getTagAggregatingExpression(), readTagAggregatingExpression(), verifyTagAggregatingExpression(Set)

writeTagMaskSetting

protected void writeTagMaskSetting(java.lang.String dataValue)
                            throws java.lang.InterruptedException
Write tag mask setting with the specified data value parameter.

Parameters:
dataValue - The data value (String) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getTagMaskSetting(), readTagMaskSetting()

writeTagReading

protected void writeTagReading(java.lang.Boolean dataValue)
                        throws java.lang.InterruptedException
Write tag reading with the specified data value parameter.

Parameters:
dataValue - The data value (Boolean) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getTagReading(), readTagReading()

writeTagReadingExpression

protected void writeTagReadingExpression(java.lang.String dataValue)
                                  throws java.lang.InterruptedException
Write tag reading expression with the specified data value parameter.

Parameters:
dataValue - The data value (String) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.
See Also:
getTagReadingExpression(), readTagReadingExpression(), verifyTagReadingExpression(Set)

waitForSignalIgnoringErrors

protected int waitForSignalIgnoringErrors(java.lang.String topicKey,
                                          int expectedCount,
                                          int duration)
                                   throws java.lang.InterruptedException
Wait for signal ignoring errors with the specified topic key, expected count and duration parameters and return the int result.

Parameters:
topicKey - The topic key (String) parameter.
expectedCount - The expected count (int) parameter.
duration - The duration (int) parameter.
Returns:
Results of the wait for signal (int) value.
Throws:
java.lang.InterruptedException - Interrupted Exception.

1.0.0

Copyright (c) 2007 IBM