2010-01-22 1.2.0

org.eclipse.soda.dk.arcom.io.transport.test
Class ArcomIoTransportTest

java.lang.Object
  extended by TransportTest
      extended by org.eclipse.soda.dk.arcom.io.transport.test.ArcomIoTransportTest
All Implemented Interfaces:
ArcomIoTransportTestService

public class ArcomIoTransportTest
extends TransportTest
implements ArcomIoTransportTestService

Arcom IO AIM104 Relay 8in8 board Test. The ArcomIoTransportTest class implements a set of transport tests.

The list of exported services:

Since:
1.0
Version:
1.2.0
See Also:
ArcomIoTransportTestService

Field Summary
static java.lang.String CLASS_NAME
          Defines the full class name.
 
Fields inherited from interface org.eclipse.soda.dk.arcom.io.transport.test.service.ArcomIoTransportTestService
FACTORY_SERVICE_NAME, MANAGED_SERVICE_NAME, SERVICE_DESCRIPTION, SERVICE_NAME
 
Constructor Summary
ArcomIoTransportTest()
          Constructs a new instance of the ArcomIoTransportTest class.
 
Method Summary
 TransportService getDefaultTransport()
          Gets the default TransportService to be tested.
static MessageService getGetInput()
          Gets the GetInput value.
static MessageService getGetOutputState()
          Gets the GetOutputState value.
static MessageService getSetPin0OffMessage()
          Gets the SetPin0OffMessage value.
static MessageService getSetPin0OnMessage()
          Gets the SetPin0OnMessage value.
static MessageService getSetPin1OffMessage()
          Gets the SetPin1OffMessage value.
static MessageService getSetPin1OnMessage()
          Gets the SetPin1OnMessage value.
static MessageService getSetPin2AllOnMessage()
          Gets the SetPin2AllOnMessage value.
static MessageService getSetPin2OffMessage()
          Gets the SetPin2OffMessage value.
static MessageService getSetPin2OnMessage()
          Gets the SetPin2OnMessage value.
static MessageService getSetPin3OffMessage()
          Gets the SetPin3OffMessage value.
static MessageService getSetPin3OnMessage()
          Gets the SetPin3OnMessage value.
static MessageService getSetPin4OffMessage()
          Gets the SetPin4OffMessage value.
static MessageService getSetPin4OnMessage()
          Gets the SetPin4OnMessage value.
static MessageService getSetPin5OffMessage()
          Gets the SetPin5OffMessage value.
static MessageService getSetPin5OnMessage()
          Gets the SetPin5OnMessage value.
static MessageService getSetPin6OffMessage()
          Gets the SetPin6OffMessage value.
static MessageService getSetPin6OnMessage()
          Gets the SetPin6OnMessage value.
static MessageService getSetPin7OffMessage()
          Gets the SetPin7OffMessage value.
static MessageService getSetPin7OnMessage()
          Gets the SetPin7OnMessage value.
static MessageService getSetPinAllOffMessage()
          Gets the SetPinAllOffMessage value.
static MessageService getSetPinAllOnMessage()
          Gets the SetPinAllOnMessage value.
static MessageService getSetPins1Thru4AllOnMessage()
          Gets the SetPins1Thru4AllOnMessage value.
static MessageService getSetPins5Thru8AllOnMessage()
          Gets the SetPins5Thru8AllOnMessage value.
static void main(java.lang.String[] arguments)
          Main method to run tests in a stand alone mode.
 void runTests()
          Runs the user-defined tests.
 void sendTestAdditivePins()
          Sends the series of messages defined in the send TestAdditivePins testcase.
 void sendTestAllPins()
          Sends the series of messages defined in the send TestAllPins testcase.
 void sendTestGroups()
          Sends the series of messages defined in the send TestGroups testcase.
 void sendTestInput()
          Sends the series of messages defined in the send TestInput testcase.
 void sendTestSinglePins()
          Sends the series of messages defined in the send TestSinglePins testcase.
 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
 

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

ArcomIoTransportTest

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

getSetPinAllOnMessage

public static MessageService getSetPinAllOnMessage()
Gets the SetPinAllOnMessage value.

Returns:
MessageService The SetPinAllOnMessage.
Since:
1.0

getGetOutputState

public static MessageService getGetOutputState()
Gets the GetOutputState value.

Returns:
MessageService The GetOutputState.
Since:
1.0

getSetPinAllOffMessage

public static MessageService getSetPinAllOffMessage()
Gets the SetPinAllOffMessage value.

Returns:
MessageService The SetPinAllOffMessage.
Since:
1.0

getSetPins1Thru4AllOnMessage

public static MessageService getSetPins1Thru4AllOnMessage()
Gets the SetPins1Thru4AllOnMessage value.

Returns:
MessageService The SetPins1Thru4AllOnMessage.
Since:
1.0

getSetPins5Thru8AllOnMessage

public static MessageService getSetPins5Thru8AllOnMessage()
Gets the SetPins5Thru8AllOnMessage value.

Returns:
MessageService The SetPins5Thru8AllOnMessage.
Since:
1.0

getSetPin2AllOnMessage

public static MessageService getSetPin2AllOnMessage()
Gets the SetPin2AllOnMessage value.

Returns:
MessageService The SetPin2AllOnMessage.
Since:
1.0

getSetPin0OnMessage

public static MessageService getSetPin0OnMessage()
Gets the SetPin0OnMessage value.

Returns:
MessageService The SetPin0OnMessage.
Since:
1.0

getSetPin0OffMessage

public static MessageService getSetPin0OffMessage()
Gets the SetPin0OffMessage value.

Returns:
MessageService The SetPin0OffMessage.
Since:
1.0

getSetPin1OnMessage

public static MessageService getSetPin1OnMessage()
Gets the SetPin1OnMessage value.

Returns:
MessageService The SetPin1OnMessage.
Since:
1.0

getSetPin1OffMessage

public static MessageService getSetPin1OffMessage()
Gets the SetPin1OffMessage value.

Returns:
MessageService The SetPin1OffMessage.
Since:
1.0

getSetPin2OnMessage

public static MessageService getSetPin2OnMessage()
Gets the SetPin2OnMessage value.

Returns:
MessageService The SetPin2OnMessage.
Since:
1.0

getSetPin2OffMessage

public static MessageService getSetPin2OffMessage()
Gets the SetPin2OffMessage value.

Returns:
MessageService The SetPin2OffMessage.
Since:
1.0

getSetPin3OnMessage

public static MessageService getSetPin3OnMessage()
Gets the SetPin3OnMessage value.

Returns:
MessageService The SetPin3OnMessage.
Since:
1.0

getSetPin3OffMessage

public static MessageService getSetPin3OffMessage()
Gets the SetPin3OffMessage value.

Returns:
MessageService The SetPin3OffMessage.
Since:
1.0

getSetPin4OnMessage

public static MessageService getSetPin4OnMessage()
Gets the SetPin4OnMessage value.

Returns:
MessageService The SetPin4OnMessage.
Since:
1.0

getSetPin4OffMessage

public static MessageService getSetPin4OffMessage()
Gets the SetPin4OffMessage value.

Returns:
MessageService The SetPin4OffMessage.
Since:
1.0

getSetPin5OnMessage

public static MessageService getSetPin5OnMessage()
Gets the SetPin5OnMessage value.

Returns:
MessageService The SetPin5OnMessage.
Since:
1.0

getSetPin5OffMessage

public static MessageService getSetPin5OffMessage()
Gets the SetPin5OffMessage value.

Returns:
MessageService The SetPin5OffMessage.
Since:
1.0

getSetPin6OnMessage

public static MessageService getSetPin6OnMessage()
Gets the SetPin6OnMessage value.

Returns:
MessageService The SetPin6OnMessage.
Since:
1.0

getSetPin6OffMessage

public static MessageService getSetPin6OffMessage()
Gets the SetPin6OffMessage value.

Returns:
MessageService The SetPin6OffMessage.
Since:
1.0

getSetPin7OnMessage

public static MessageService getSetPin7OnMessage()
Gets the SetPin7OnMessage value.

Returns:
MessageService The SetPin7OnMessage.
Since:
1.0

getSetPin7OffMessage

public static MessageService getSetPin7OffMessage()
Gets the SetPin7OffMessage value.

Returns:
MessageService The SetPin7OffMessage.
Since:
1.0

getGetInput

public static MessageService getGetInput()
Gets the GetInput value.

Returns:
MessageService The GetInput.
Since:
1.0

getDefaultTransport

public TransportService getDefaultTransport()
Gets the default TransportService to be tested.

Returns:
TransportService The Transport to be tested.
Since:
1.0
See Also:
org.eclipse.soda.dk.transport.test.TransportTest#getDefaultTransport()

runTests

public void runTests()
Runs the user-defined tests.

Since:
1.0
See Also:
org.eclipse.soda.dk.transport.test.TransportTest#runTests()

sendTestAdditivePins

public void sendTestAdditivePins()
Sends the series of messages defined in the send TestAdditivePins testcase.

Since:
1.0

sendTestAllPins

public void sendTestAllPins()
Sends the series of messages defined in the send TestAllPins testcase.

Since:
1.0

sendTestGroups

public void sendTestGroups()
Sends the series of messages defined in the send TestGroups testcase.

Since:
1.0

sendTestInput

public void sendTestInput()
Sends the series of messages defined in the send TestInput testcase.

Since:
1.0

sendTestSinglePins

public void sendTestSinglePins()
Sends the series of messages defined in the send TestSinglePins testcase.

Since:
1.0

setup

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

Since:
1.0
See Also:
org.eclipse.soda.dk.transport.test.TransportTest#setup()

2010-01-22 1.2.0

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