Eclipse.org - Device Kit
Transport Test
The transport test is focussed on testing that the connection to the hardware device
can be made and that the transport can be correctly started.
You must be able to connection to the real hardware device to run this test successfully.
If the transport test is successful, then the transport test will output that it has achieved the
STARTED state.
Transport Test Sample Application
- File->New->Examples Menu
- Open the dialog and select the specific transport test to install
- Open the created transport test project, then the src folder and find the transport test class.
- Select the transport test and open the popup menu.
- Run As -> Java Application.
- Check the output to make sure the transport achieved the STARTED state.
Transport Test in Equinox
- Run icon -> New... Menu
- Select Equinox and open the pop-up menu and select new
- Deselect all bundles.
- Select the specific transport 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.transport.test, the following bundles should be selected:
- 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 transport achieved the STARTED state.
Transport Testcase
The transport testcase is runs as many testcases that can be run without being connected
to the hardware device.
If the transportcase testcase is successful, then the transport testcase will output the results of
running the testcases.
Transport Testcase Sample Application
- File->New->Examples Menu
- Open the dialog and select the specific transport testcase to install
- Open the created transport testcase project, then the src folder and find the transport testcase class.
- Select the transport testcase and open the popup menu.
- Run As -> Java Application.
- Check the output to make sure the transport achieved the STARTED state.
Transport Testcase in Equinox
- Run icon -> New... Menu
- Select Equinox and open the pop-up menu and select new
- Deselect all bundles.
- Select the specific transport 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.transport.testcase, the following bundles should be selected:
- 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 no testcase failed.
© Copyright 2001, 2007 IBM Corporation and others.