Eclipse.org - Device Kit
Device Test
The device test is focussed on testing that the software device can be successfully connected
to the hardware device via the transport.
You must be able to connection to the real hardware device to run this test successfully.
If the device test is successful, then the device test will output that it has achieved the
STARTED state.
Device Test Sample Application
- File->New->Examples Menu
- Open the dialog and select the specific device test to install
- Open the created device test project, then the src folder and find the device test class.
- Select the DeviceTest and open the popup menu.
- Run As -> Java Application.
- Check the output to make sure the device achieved the STARTED state.
Device Test in Equinox
- Run icon -> New... Menu
- Select Equinox and open the pop-up menu and select new
- Deselect all bundles.
- Select the specific device test to be tested
- Select required bundles
- Add any other bundles that are required.
For example, if running the org.eclipse.soda.dk.gps.nmea.device.test, the following bundles should be selected:
- org.eclipse.soda.dk.gps.nmea.device
- org.eclipse.soda.dk.gps.nmea.device.bundle
- org.eclipse.soda.dk.device
- org.eclipse.soda.dk.gps.nmea.transport
- org.eclipse.soda.dk.gps.nmea.transport.bundle
- org.eclipse.soda.dk.transport
- Check the output to make sure the device achieved the STARTED state.
Device Testcase
The device testcase is runs as many testcases that can be run without being connected
to the hardware device.
If the devicecase testcase is successful, then the device testcase will output the results of
running the testcases.
Device Testcase Sample Application
- File->New->Examples Menu
- Open the dialog and select the specific device testcase to install
- Open the created device testcase project, then the src folder and find the device testcase class.
- Select the device testcase and open the popup menu.
- Run As -> Java Application.
- Check the output to make sure the device achieved the STARTED state.
Device Testcase in Equinox
- Run icon -> New... Menu
- Select Equinox and open the pop-up menu and select new
- Deselect all bundles.
- Select the specific device test to be tested
- Select required bundles
- Add any other bundles that are required.
For example, if running the org.eclipse.soda.dk.gps.nmea.device.testcase, the following bundles should be selected:
- org.eclipse.soda.dk.gps.nmea.device
- org.eclipse.soda.dk.gps.nmea.device.bundle
- org.eclipse.soda.dk.device
- Check the output to make sure the no testcase failed.
© Copyright 2001, 2007 IBM Corporation and others.