| Type | Bundle project |
|---|---|
| Abstract Profile Test Agent | org.eclipse.soda.dk.gpio.profile.test.agent |
| Test Agent | org.eclipse.soda.dk.gpio.profile.test.agent |
| Bundle activator | org.eclipse.soda.dk.gpio.profile.test.agent.bundle |
| Factory activator | org.eclipse.soda.dk.gpio.profile.test.agent.factory |
| Managed activator | org.eclipse.soda.dk.gpio.profile.test.agent.managed |
An example launch configuration and test script is included for the following supported device and profile combinations:
| Device | Bundle project | Example launch config and script |
|---|---|---|
| Alien ALR | org.eclipse.soda.dk.alien.alr.gpio.profile.test | alien.alr.gpio.profile.test.launch alien.alr.gpio.profile.test.xml |
| org.eclipse.soda.dk.alien.alr.gpio.profile.test.bundle | alien.alr.gpio.profile.test.bundle.launch alien.alr.gpio.profile.test.bundle.xml | |
| org.eclipse.soda.dk.alien.alr.gpio.profile.test.factory | alien.alr.gpio.profile.test.factory.launch alien.alr.gpio.profile.test.factory.xml | |
| org.eclipse.soda.dk.alien.alr.gpio.profile.test.managed | alien.alr.gpio.profile.test.managed.launch alien.alr.gpio.profile.test.managed.xml | |
| RFID Intermec Basic Reader Interface (BRI) | org.eclipse.soda.dk.intermec.bri.gpio.profile.test | intermec.bri.gpio.profile.test.launch intermec.bri.gpio.profile.test.xml |
| org.eclipse.soda.dk.intermec.bri.gpio.profile.test.bundle | intermec.bri.gpio.profile.test.bundle.launch intermec.bri.gpio.profile.test.bundle.xml | |
| org.eclipse.soda.dk.intermec.bri.gpio.profile.test.factory | intermec.bri.gpio.profile.test.factory.launch intermec.bri.gpio.profile.test.factory.xml | |
| org.eclipse.soda.dk.intermec.bri.gpio.profile.test.managed | intermec.bri.gpio.profile.test.managed.launch intermec.bri.gpio.profile.test.managed.xml | |
| RFID SAMSys Comprehensive Heuristic Unified Messaging Protocol (CHUMP) | org.eclipse.soda.dk.samsys.chump.gpio.profile.test | samsys.chump.gpio.profile.test.launch samsys.chump.gpio.profile.test.xml |
| org.eclipse.soda.dk.samsys.chump.gpio.profile.test.bundle | samsys.chump.gpio.profile.test.bundle.launch samsys.chump.gpio.profile.test.bundle.xml | |
| org.eclipse.soda.dk.samsys.chump.gpio.profile.test.factory | samsys.chump.gpio.profile.test.factory.launch samsys.chump.gpio.profile.test.factory.xml | |
| org.eclipse.soda.dk.samsys.chump.gpio.profile.test.managed | samsys.chump.gpio.profile.test.managed.launch samsys.chump.gpio.profile.test.managed.xml | |
| RFID Symbol Byte Stream Protocol (BSP) | org.eclipse.soda.dk.symbol.bsp.gpio.profile.test | symbol.bsp.gpio.profile.test.launch symbol.bsp.gpio.profile.test.xml |
| org.eclipse.soda.dk.symbol.bsp.gpio.profile.test.bundle | symbol.bsp.gpio.profile.test.bundle.launch symbol.bsp.gpio.profile.test.bundle.xml | |
| org.eclipse.soda.dk.symbol.bsp.gpio.profile.test.factory | symbol.bsp.gpio.profile.test.factory.launch symbol.bsp.gpio.profile.test.factory.xml | |
| org.eclipse.soda.dk.symbol.bsp.gpio.profile.test.managed | symbol.bsp.gpio.profile.test.managed.launch symbol.bsp.gpio.profile.test.managed.xml |
To run, for example, the managed-factory service activator configuration of the Gpio Profile validation test against an Intermec BRI device, perform the following steps:
Note: when running the standard Java launch configuration, like for example intermec.bri.gpio.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.
The following test properties are specific to the Gpio profile validation test:
| Property | Description | Default |
|---|---|---|
| expected.input.count.value | Number of digital inputs supported by the device under test. | 4 |
| expected.output.count.value | Number of digital outputs supported by the device under test. | 4 |
The RfidInventory profile validation test runs the following test cases:
| Test Case | Description |
|---|---|
| GpioProfileInputCountTestCase | Verify the number of inputs returned. |
| GpioProfileOutputCountTestCase | Verify the number of outputs returned. |
| GpioProfileInputTestCase | Test all inputs. |
| GpioProfileOutputTestCase | Test all outputs. |
| GpioProfileOutputExpressionTestCase | Test setting output from expressions. |
| GpioProfileMeasurementErrorsTestCase | Test for correct error responses for invalid settings of measurements. |
| GpioProfileDisconnectTestCase | Test detection and recovery of disconnect and reconnect of the device. |
Copyright © 2007 IBM. All Rights Reserved.