1.0.0

org.eclipse.soda.dk.gps.nmea.adapter.test
Class GpsNmeaAdapterTest

java.lang.Object
  extended by AdapterTest
      extended by org.eclipse.soda.dk.gps.nmea.adapter.test.GpsNmeaAdapterTest
All Implemented Interfaces:
java.lang.Runnable, GpsNmeaAdapterTestService

public class GpsNmeaAdapterTest
extends AdapterTest
implements GpsNmeaAdapterTestService, java.lang.Runnable

Gps Nmea Adapter Test. The GpsNmeaAdapterTest class implements a set of device tests.

The list of exported services:

Version:
1.0.0
See Also:

See the following specification(s) for more details:


Field Summary
static java.lang.String CLASS_NAME
          Defines the class name.
 
Fields inherited from interface org.eclipse.soda.dk.gps.nmea.adapter.test.service.GpsNmeaAdapterTestService
FACTORY_SERVICE_NAME, MANAGED_SERVICE_NAME, SERVICE_NAME
 
Constructor Summary
GpsNmeaAdapterTest()
          Constructs a new instance of the GpsNmeaAdapterTest class.
 
Method Summary
 AdapterService getDefaultAdapter()
          Gets the default AdapterService to be tested.
static void main(java.lang.String[] args)
          Main method to run tests in a standalone mode.
 void setup()
          Sets user-defined varables to use in the test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Defines the class name.

See Also:
Constant Field Values
Constructor Detail

GpsNmeaAdapterTest

public GpsNmeaAdapterTest()
Constructs a new instance of the GpsNmeaAdapterTest class.

Method Detail

main

public static void main(java.lang.String[] args)
Main method to run tests in a standalone mode.

Parameters:
args -
See Also:
GpsNmeaAdapter

getDefaultAdapter

public AdapterService getDefaultAdapter()
                                 throws java.lang.ClassNotFoundException,
                                        java.lang.IllegalAccessException,
                                        java.lang.InstantiationException
Gets the default AdapterService to be tested.

Returns:
AdapterService The Adapter to be tested.
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
See Also:
org.eclipse.soda.dk.adapter.test.AdapterTest#getDefaultAdapter()

setup

public void setup()
Sets user-defined varables to use in the test.

See Also:
org.eclipse.soda.dk.device.test.DeviceTest#setup()

1.0.0

Copyright (c) 2007 IBM