Eclipse.org Eclipse.org - Device Kit

Device Kit Testing

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

  1. File->New->Examples Menu
  2. Open the dialog and select the specific device test to install
  3. Open the created device test project, then the src folder and find the device test class.
  4. Select the DeviceTest and open the popup menu.
  5. Run As -> Java Application.
  6. Check the output to make sure the device achieved the STARTED state.

Device Test in Equinox

  1. Run icon -> New... Menu
  2. Select Equinox and open the pop-up menu and select new
  3. Deselect all bundles.
  4. Select the specific device test to be tested
  5. Select required bundles
  6. 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:
  7. 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

  1. File->New->Examples Menu
  2. Open the dialog and select the specific device testcase to install
  3. Open the created device testcase project, then the src folder and find the device testcase class.
  4. Select the device testcase and open the popup menu.
  5. Run As -> Java Application.
  6. Check the output to make sure the device achieved the STARTED state.

Device Testcase in Equinox

  1. Run icon -> New... Menu
  2. Select Equinox and open the pop-up menu and select new
  3. Deselect all bundles.
  4. Select the specific device test to be tested
  5. Select required bundles
  6. 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:
  7. Check the output to make sure the no testcase failed.