2008-07-29 1.1.0

org.eclipse.soda.dk.barcode.reader.adapter.test
Class BarcodeReaderAdapterTest

java.lang.Object
  extended by AdapterTest
      extended by org.eclipse.soda.dk.barcode.reader.adapter.test.BarcodeReaderAdapterTest
All Implemented Interfaces:
java.lang.Runnable, BarcodeReaderAdapterTestService

public class BarcodeReaderAdapterTest
extends AdapterTest
implements BarcodeReaderAdapterTestService, java.lang.Runnable

Standard Barcode Reader Test. The BarcodeReaderAdapterTest class implements a set of adaptertest tests.

The list of exported services:

Version:
1.1.0
See Also:
BarcodeReaderAdapterTestService

Field Summary
static java.lang.String CLASS_NAME
          Defines the full class name.
 
Fields inherited from interface org.eclipse.soda.dk.barcode.reader.adapter.test.service.BarcodeReaderAdapterTestService
FACTORY_SERVICE_NAME, MANAGED_SERVICE_NAME, SERVICE_DESCRIPTION, SERVICE_NAME
 
Constructor Summary
BarcodeReaderAdapterTest()
          Constructs a new instance of the BarcodeReaderAdapterTest 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 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

BarcodeReaderAdapterTest

public BarcodeReaderAdapterTest()
Constructs a new instance of the BarcodeReaderAdapterTest 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:
BarcodeReaderAdapter

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 variables to use in the test.

See Also:
org.eclipse.soda.dk.adapter.test.AdapterTest#setup()

2008-07-29 1.1.0

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