2008-07-29 1.1.0

org.eclipse.soda.dk.barcode.reader.device.test
Class BarcodeReaderDeviceTest

java.lang.Object
  extended by DeviceTest
      extended by org.eclipse.soda.dk.barcode.reader.device.test.BarcodeReaderDeviceTest
All Implemented Interfaces:
java.lang.Runnable, BarcodeReaderDeviceTestService

public class BarcodeReaderDeviceTest
extends DeviceTest
implements BarcodeReaderDeviceTestService, java.lang.Runnable

Standard Barcode Reader Test. The BarcodeReaderDeviceTest class implements a set of devicetest tests.

The list of exported services:

Version:
1.1.0
See Also:
BarcodeReaderDeviceTestService

Field Summary
static java.lang.String CLASS_NAME
          Defines the full class name.
 
Fields inherited from interface org.eclipse.soda.dk.barcode.reader.device.test.service.BarcodeReaderDeviceTestService
FACTORY_SERVICE_NAME, MANAGED_SERVICE_NAME, SERVICE_DESCRIPTION, SERVICE_NAME
 
Constructor Summary
BarcodeReaderDeviceTest()
          Constructs a new instance of the BarcodeReaderDeviceTest class.
 
Method Summary
 DeviceService getDefaultDevice()
          Gets the default DeviceService to be tested.
static void main(java.lang.String[] args)
          Main method to run tests in a stand alone mode.
 void setup()
          Sets user-defined variables 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 full class name.

See Also:
Constant Field Values
Constructor Detail

BarcodeReaderDeviceTest

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

Method Detail

main

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

Parameters:
args -
See Also:
BarcodeReaderDevice

getDefaultDevice

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

Returns:
DeviceService The Device to be tested.
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
See Also:
org.eclipse.soda.dk.device.test.DeviceTest#getDefaultDevice()

setup

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

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

2008-07-29 1.1.0

Copyright (c) 2008 IBM. See license in Legal section.