| 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 |
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 |
| expected.analog.input.count.value | Number of analog inputs supported by the device under test. | 0 |
| expected.analog.output.count.value | Number of analog outputs supported by the device under test. | 0 |
| expected.analog.input.value | A comma separated list of ranges to be used as analog inputs. The number of ranges provided should be the same as the number of analog inputs supported by the device under test. | 10-20,20-30,30-40,40-50,50-60 |
| expected.analog.output.value | A list of comma separated analog output values to be used when testing analog output. The number of analog output values provided should be the same as the number of analog outputs supported by the device under test. | 12,786,83612 |
The Gpio profile validation test runs the following test cases:
| Test Case | Description |
|---|---|
| GpioProfileInputCountTestCase | Verify the number of digital inputs returned. |
| GpioProfileOutputCountTestCase | Verify the number of digital outputs returned. |
| GpioProfileInputTestCase | Test all digital inputs. |
| GpioProfileOutputTestCase | Test all digital outputs. |
| GpioProfileOutputExpressionTestCase | Test setting digital output from expressions on digital input values. |
| GpioProfileMeasurementErrorsTestCase | Test for correct error responses for invalid settings of measurements. |
| GpioProfileAnalogInputCountTestCase | Verify the number of analog inputs returned. |
| GpioProfileAnalogOutputCountTestCase | Verify the number of analog outputs returned. |
| GpioProfileAnalogInputTestCase | Test all analog inputs. |
| GpioProfileAnalogOutputTestCase | Test all analog outputs. |
| GpioProfileAnalogOutputExpressionTestCase | Test setting digital output from expressions on analog input values. |
| GpioProfileDisconnectTestCase | Test detection and recovery of disconnect and reconnect of the device. |
Copyright © 2007 IBM. All Rights Reserved.