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.gpio.profile.test.agent
Bundle activatororg.eclipse.soda.dk.gpio.profile.test.agent.bundle
Factory activatororg.eclipse.soda.dk.gpio.profile.test.agent.factory
Managed activatororg.eclipse.soda.dk.gpio.profile.test.agent.managed

Specific Profile Validation Test Properties

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

PropertyDescriptionDefault
expected.input.count.valueNumber of digital inputs supported by the device under test.4
expected.output.count.valueNumber of digital outputs supported by the device under test.4
expected.analog.input.count.valueNumber of analog inputs supported by the device under test.0
expected.analog.output.count.valueNumber of analog outputs supported by the device under test.0
expected.analog.input.valueA 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.valueA 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

Test Cases

The Gpio profile validation test runs the following test cases:

Test CaseDescription
GpioProfileInputCountTestCaseVerify the number of digital inputs returned.
GpioProfileOutputCountTestCaseVerify the number of digital outputs returned.
GpioProfileInputTestCaseTest all digital inputs.
GpioProfileOutputTestCaseTest all digital outputs.
GpioProfileOutputExpressionTestCaseTest setting digital output from expressions on digital input values.
GpioProfileMeasurementErrorsTestCaseTest for correct error responses for invalid settings of measurements.
GpioProfileAnalogInputCountTestCaseVerify the number of analog inputs returned.
GpioProfileAnalogOutputCountTestCaseVerify the number of analog outputs returned.
GpioProfileAnalogInputTestCaseTest all analog inputs.
GpioProfileAnalogOutputTestCaseTest all analog outputs.
GpioProfileAnalogOutputExpressionTestCaseTest setting digital output from expressions on analog input values.
GpioProfileDisconnectTestCaseTest detection and recovery of disconnect and reconnect of the device.