Eclipse.org Eclipse.org - Device Kit

Gpio Profile Validation Test

Profile validation test agent projects

TypeBundle project
Abstract Profile Test Agentorg.eclipse.soda.dk.gpio.profile.test.agent
Test Agentorg.eclipse.soda.dk.rfid.inventory.profile.test.agent
Bundle activatororg.eclipse.soda.dk.rfid.inventory.profile.test.agent.bundle
Factory activatororg.eclipse.soda.dk.rfid.inventory.profile.test.agent.factory
Managed activatororg.eclipse.soda.dk.rfid.inventory.profile.test.agent.managed

Example launch configuration and test script per device

An example launch configuration and test script is included for the following supported device and profile combinations:

DeviceBundle projectExample launch config and script
Alien ALR org.eclipse.soda.dk.alien.alr.inventory.profile.testalien.alr.inventory.profile.test.launch
alien.alr.inventory.profile.test.xml
org.eclipse.soda.dk.alien.alr.inventory.profile.test.bundlealien.alr.inventory.profile.test.bundle.launch
alien.alr.inventory.profile.test.bundle.xml
org.eclipse.soda.dk.alien.alr.inventory.profile.test.factoryalien.alr.inventory.profile.test.factory.launch
alien.alr.inventory.profile.test.factory.xml
org.eclipse.soda.dk.alien.alr.inventory.profile.test.managedalien.alr.inventory.profile.test.managed.launch
alien.alr.inventory.profile.test.managed.xml
RFID Intermec Basic Reader Interface (BRI) org.eclipse.soda.dk.intermec.bri.inventory.profile.testintermec.bri.inventory.profile.test.launch
intermec.bri.inventory.profile.test.xml
org.eclipse.soda.dk.intermec.bri.inventory.profile.test.bundleintermec.bri.inventory.profile.test.bundle.launch
intermec.bri.inventory.profile.test.bundle.xml
org.eclipse.soda.dk.intermec.bri.inventory.profile.test.factoryintermec.bri.inventory.profile.test.factory.launch
intermec.bri.inventory.profile.test.factory.xml
org.eclipse.soda.dk.intermec.bri.inventory.profile.test.managedintermec.bri.inventory.profile.test.managed.launch
intermec.bri.inventory.profile.test.managed.xml
RFID SAMSys Comprehensive Heuristic Unified Messaging Protocol (CHUMP) org.eclipse.soda.dk.samsys.chump.inventory.profile.testsamsys.chump.inventory.profile.test.launch
samsys.chump.inventory.profile.test.xml
org.eclipse.soda.dk.samsys.chump.inventory.profile.test.bundlesamsys.chump.inventory.profile.test.bundle.launch
samsys.chump.inventory.profile.test.bundle.xml
org.eclipse.soda.dk.samsys.chump.inventory.profile.test.factorysamsys.chump.inventory.profile.test.factory.launch
samsys.chump.inventory.profile.test.factory.xml
org.eclipse.soda.dk.samsys.chump.inventory.profile.test.managedsamsys.chump.inventory.profile.test.managed.launch
samsys.chump.inventory.profile.test.managed.xml
RFID Symbol Byte Stream Protocol (BSP) org.eclipse.soda.dk.symbol.bsp.inventory.profile.testsymbol.bsp.inventory.profile.test.launch
symbol.bsp.inventory.profile.test.xml
org.eclipse.soda.dk.symbol.bsp.inventory.profile.test.bundlesymbol.bsp.inventory.profile.test.bundle.launch
symbol.bsp.inventory.profile.test.bundle.xml
org.eclipse.soda.dk.symbol.bsp.inventory.profile.test.factorysymbol.bsp.inventory.profile.test.factory.launch
symbol.bsp.inventory.profile.test.factory.xml
org.eclipse.soda.dk.symbol.bsp.inventory.profile.test.managedsymbol.bsp.inventory.profile.test.managed.launch
symbol.bsp.inventory.profile.test.managed.xml

To run, for example, the managed-factory service activator configuration of the RfidInventory Profile validation test against an Intermec BRI device, perform the following steps:

  1. Run the New Example>Device Kit Samples wizard in Eclipse and create sample project org.eclipse.soda.dk.intermec.bri.inventory.profile.test.factory.
  2. Review the test script file samsys.chump.inventory.profile.test.factory.xml in the sample project and change test properties as needed.
  3. Run the intermec.bri.inventory.profile.test.factory.launch launch configuration that has been added to the workspace by creating the sample project.
  4. Open the Test Manager wizard at http://localhost/testmanager in a browser.
  5. Select test script file samsys.chump.inventory.profile.test.factory.xml from the sample project to run the validation test script.

Note: when running the standard Java launch configuration, like for example intermec.bri.inventory.profile.test.launch, it is not necessary to open the test manager and specify the test script file. The correct default test script is defined in the esc.properties file in the project of the launch configuration, and the Test Manager runs on the console.

Specific Profile Validation Test Properties

The following test properties are specific to the RfidInventory profile validation test:

PropertyDescriptionDefault
expected.readerReader ID expected to be returned with tag reads.By default the value of the prefix property is used.
read.duration.msTime in ms the reader is activated to read all tags expected for a testcase.3000 ms
taglistComma-separated list of 3 or more tag identifier strings as expected to be returned by readerNone.
tagmaskSemicolon-separated list of 2 or more LLRP tag masks matching more than one, but not all, expected tags.None.

Test Cases

The RfidInventory profile validation test runs the following test cases:

Test CaseDescription
RfidInventoryProfileNoTagsTestCaseTest all featuresof the profile, excluding masking, with no tags within reading range. Also test for correct error responses for invalid settings of measurements.
RfidInventoryProfileSingleTagTestCaseTest all features of the profile, excluding masking, with the first tag from the tag list within reading range.
RfidInventoryProfileMultipleTagsTestCaseTest all features of the profile, including masking, with the all tags from the tag list.
RfidInventoryProfileDisconnectTestCaseTest detection and recovery of disconnect and reconnect of the device.