2010-01-22 1.2.0

org.eclipse.soda.dk.arcom.io.device.test
Class ArcomIoDeviceTest

java.lang.Object
  extended by DeviceTest
      extended by org.eclipse.soda.dk.arcom.io.device.test.ArcomIoDeviceTest
All Implemented Interfaces:
java.lang.Runnable, ArcomIoDeviceTestService

public class ArcomIoDeviceTest
extends DeviceTest
implements ArcomIoDeviceTestService, java.lang.Runnable

Arcom IO Relay 8 in 8 Test. The ArcomIoDeviceTest class implements a set of devicetest tests.

The list of exported services:

Since:
1.0
Version:
1.2.0
See Also:
ArcomIoDeviceTestService

Field Summary
static java.lang.String CLASS_NAME
          Defines the full class name.
 
Fields inherited from interface org.eclipse.soda.dk.arcom.io.device.test.service.ArcomIoDeviceTestService
FACTORY_SERVICE_NAME, MANAGED_SERVICE_NAME, SERVICE_DESCRIPTION, SERVICE_NAME
 
Constructor Summary
ArcomIoDeviceTest()
          Constructs a new instance of the ArcomIoDeviceTest class.
 
Method Summary
 DeviceService getDefaultDevice()
          Gets the default DeviceService to be tested.
static void main(java.lang.String[] arguments)
          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.

Since:
1.0
See Also:
Constant Field Values
Constructor Detail

ArcomIoDeviceTest

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

Since:
1.0
Method Detail

main

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

Parameters:
arguments -
Since:
1.0
See Also:
ArcomIoDevice

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
Since:
1.0
See Also:
org.eclipse.soda.dk.device.test.DeviceTest#getDefaultDevice()

setup

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

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

2010-01-22 1.2.0

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