2008-07-29 1.1.0

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

java.lang.Object
  extended by ProfileAbstractTestCase
      extended by org.eclipse.soda.dk.rfid.inventory.profile.test.agent.RfidInventoryProfileAbstractTestCase
          extended by org.eclipse.soda.dk.rfid.inventory.profile.test.agent.RfidInventoryProfileDisconnectTestCase

public class RfidInventoryProfileDisconnectTestCase
extends RfidInventoryProfileAbstractTestCase

Version:
1.1.0

Field Summary
 
Fields inherited from class org.eclipse.soda.dk.rfid.inventory.profile.test.agent.RfidInventoryProfileAbstractTestCase
AND_EXPRESSION, BIT_1, BIT_2, BIT_32, configuredTags, controlProfileServiceBitsExternalKey, controlProfileServiceLongsExternalKey, DEFAULT_TAG_READ_DURATION, gpioProfileServiceInputExternalKey, interestedTags, INVALID_EXPRESSION, INVALID_MASK, OR_EXPRESSION, readDurationProperty, readerIdProperty, rfidInventoryProfileServiceAggregationMaskSettingExternalKey, rfidInventoryProfileServiceCapabilitiesExternalKey, rfidInventoryProfileServiceConfigurationExternalKey, rfidInventoryProfileServiceDataExtensionsExternalKey, rfidInventoryProfileServiceDuplicateFilteringExpressionExternalKey, rfidInventoryProfileServiceDuplicateFilteringExternalKey, rfidInventoryProfileServiceStatusExternalKey, rfidInventoryProfileServiceTagAggregatingExpressionExternalKey, rfidInventoryProfileServiceTagAggregatingExternalKey, rfidInventoryProfileServiceTagAggregationReportExternalKey, rfidInventoryProfileServiceTagMaskSettingExternalKey, rfidInventoryProfileServiceTagReadingExpressionExternalKey, rfidInventoryProfileServiceTagReadingExternalKey, rfidInventoryProfileServiceTagReportExternalKey, tagListProperty, tagMaskProperty
 
Constructor Summary
RfidInventoryProfileDisconnectTestCase(java.lang.String name)
          Constructs a new instance of the RfidInventoryProfileDisconnectTestCase class.
 
Method Summary
static void main(java.lang.String[] args)
          Main method to run tests in a standalone mode.
protected  void setUp()
          Set up.
 void test000_Disconnect()
          Test000_ disconnect.
 void test010_Reconnect()
          Test010_ reconnect.
 void test020_TagReadingAndAggregation()
          Test020_ tag reading and aggregation.
 
Methods inherited from class org.eclipse.soda.dk.rfid.inventory.profile.test.agent.RfidInventoryProfileAbstractTestCase
countTagAggregationReports, countTagReports, getAggregationMaskSetting, getAllTagAggregationReports, getAllTagReports, getBitsData, getCapabilities, getConfiguration, getDataExtensions, getDuplicateFiltering, getDuplicateFilteringExpression, getExternalKeys, getInputsData, getKeysAndSettingsFromProperties, getLastTagAggregationReport, getLastTagReport, getLongsData, getNotificationService, getStatus, getTagAggregating, getTagAggregatingExpression, getTagMaskSetting, getTagReading, getTagReadingExpression, getTagsFromTagAggregationReports, getTagsFromTagReports, readAggregationMaskSetting, readAndVerifyTags, readDataExtensions, readDuplicateFiltering, readDuplicateFilteringExpression, readTagAggregating, readTagAggregatingExpression, readTagMaskSetting, readTagReading, readTagReadingExpression, reportBits, reportInput, reportLongs, tearDown, verifyAggregationReceived, verifyDuplicateFiltering, verifyDuplicateFilteringExpression, verifyExpectedTagsReceived, verifyNoAggregationReceived, verifyTagAggregatingExpression, verifyTagReadingAndAggregation, verifyTagReadingAndAggregation, verifyTagReadingExpression, verifyTagReads, waitForSignalIgnoringErrors, waitForTagAggregationReports, waitForTagReports, writeAggregationMaskSetting, writeDataExtensions, writeDuplicateFiltering, writeDuplicateFilteringExpression, writeTagAggregating, writeTagAggregatingExpression, writeTagMaskSetting, writeTagReading, writeTagReadingExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RfidInventoryProfileDisconnectTestCase

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

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

main

public static void main(java.lang.String[] args)
Main method to run tests in a standalone mode.

Parameters:
args - The args (String[]) parameter.
See Also:
RfidInventoryProfileTestAgent

setUp

protected void setUp()
              throws java.lang.Exception
Set up.

Throws:
java.lang.Exception - Exception.

test000_Disconnect

public void test000_Disconnect()
                        throws java.lang.InterruptedException,
                               java.io.IOException
Test000_ disconnect.

Throws:
java.lang.InterruptedException - Interrupted Exception.
java.io.IOException

test010_Reconnect

public void test010_Reconnect()
                       throws java.lang.InterruptedException,
                              java.io.IOException
Test010_ reconnect.

Throws:
java.lang.InterruptedException - Interrupted Exception.
java.io.IOException

test020_TagReadingAndAggregation

public void test020_TagReadingAndAggregation()
                                      throws java.lang.InterruptedException,
                                             java.io.IOException
Test020_ tag reading and aggregation.

Throws:
java.lang.InterruptedException - Interrupted Exception.
java.io.IOException

2008-07-29 1.1.0

Copyright (c) 2008 IBM. See license in Legal section.