2010-01-22 1.2.0

org.eclipse.soda.dk.gpio.profile.test.agent
Class GpioProfileTestAgent

java.lang.Object
  extended by TestAgent
      extended by org.eclipse.soda.dk.gpio.profile.test.agent.GpioProfileTestAgent
All Implemented Interfaces:
GpioProfileTestAgentService

public class GpioProfileTestAgent
extends TestAgent
implements GpioProfileTestAgentService

Since:
1.0
Version:
1.2.0

Field Summary
static int ANALOG_INPUT__SHOULD_BE_NOT_IN_CORRECT_RANGE
          Define the analog input should be not in correct range (int) constant.
static int ANALOG_INPUT_NOT_IN_CORRECT_RANGE
          Define the analog input not in correct range (int) constant.
static int CHECK_ALL_ANALOG_OUTPUTS
          Define the check all analog outputs (int) constant.
static int CHECK_ALL_ANALOG_OUTPUTS_ZERO
          Define the check all analog outputs zero (int) constant.
static int CHECK_ALL_DIGITAL_OUTPUTS_ON
          Define the check all digital outputs on (int) constant.
static int CHECK_ALL_OUTPUTS_OFF
          Define the turn input last off (int) constant.
static int CHECK_ALL_OUTPUTS_ON
          Define the turn input last off (int) constant.
static int CHECK_FIRST_OUTPUT_OFF
          Define the turn input last off (int) constant.
static int CHECK_FIRST_OUTPUT_ON
          Define the turn input last off (int) constant.
static int CHECK_LAST_OUTPUT_OFF
          Define the turn input last off (int) constant.
static int CHECK_LAST_OUTPUT_ON
          Define the turn input last off (int) constant.
static java.lang.String CLASS_NAME
          Defines the class name.
static java.util.ResourceBundle DefaultResourceBundle
          Define the default resource bundle (ResourceBundle) field.
static java.lang.String DESCRIPTION
          Description of the test.
static int DISCONNECT_READER
          Define the disconnect reader (int) constant.
static int RECONNECT_READER
          Define the reconnect reader (int) constant.
static int SET_ANALOG_INPUTS
          Define the set analog input (int) constant.
static int SET_ANALOG_INPUTS_NOT_IN_RANGE
          Define the set analog inputs not in range (int) constant.
static int TURN_INPUT_ALL_OFF
          Define the turn input all off (int) constant.
static int TURN_INPUT_ALL_ON
          Define the turn input all on (int) constant.
static int TURN_INPUT_FIRST_OFF
          Define the turn input first off (int) constant.
static int TURN_INPUT_FIRST_ON
          Define the turn input first on (int) constant.
static int TURN_INPUT_LAST_OFF
          Define the turn input last off (int) constant.
static int TURN_INPUT_LAST_ON
          Define the turn input last on (int) constant.
 
Fields inherited from interface org.eclipse.soda.dk.gpio.profile.test.agent.service.GpioProfileTestAgentService
EXPECTED_ANALOG_INPUT_COUNT_PROPERTY, EXPECTED_ANALOG_INPUT_PROPERTY, EXPECTED_ANALOG_OUTPUT_COUNT_PROPERTY, EXPECTED_ANALOG_OUTPUT_PROPERTY, EXPECTED_INPUT_COUNT_PROPERTY, EXPECTED_OUTPUT_COUNT_PROPERTY, FACTORY_SERVICE_NAME, MANAGED_SERVICE_NAME, SERVICE_NAME
 
Constructor Summary
GpioProfileTestAgent()
          Constructs a new instance of the GpioProfileTestAgent class.
 
Method Summary
 java.lang.String getDescription()
          Gets the description (String) value.
 java.lang.Class loadTestClass()
          Load test class and return the Class result.
static void main(java.lang.String[] arguments)
          Main method to run tests in a stand alone mode.
 
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 class name.

See Also:
Constant Field Values

DESCRIPTION

public static final java.lang.String DESCRIPTION
Description of the test.

See Also:
Constant Field Values

DISCONNECT_READER

public static final int DISCONNECT_READER
Define the disconnect reader (int) constant.

See Also:
Constant Field Values

RECONNECT_READER

public static final int RECONNECT_READER
Define the reconnect reader (int) constant.

See Also:
Constant Field Values

TURN_INPUT_ALL_ON

public static final int TURN_INPUT_ALL_ON
Define the turn input all on (int) constant.

See Also:
Constant Field Values

TURN_INPUT_ALL_OFF

public static final int TURN_INPUT_ALL_OFF
Define the turn input all off (int) constant.

See Also:
Constant Field Values

TURN_INPUT_FIRST_ON

public static final int TURN_INPUT_FIRST_ON
Define the turn input first on (int) constant.

See Also:
Constant Field Values

TURN_INPUT_FIRST_OFF

public static final int TURN_INPUT_FIRST_OFF
Define the turn input first off (int) constant.

See Also:
Constant Field Values

TURN_INPUT_LAST_ON

public static final int TURN_INPUT_LAST_ON
Define the turn input last on (int) constant.

See Also:
Constant Field Values

TURN_INPUT_LAST_OFF

public static final int TURN_INPUT_LAST_OFF
Define the turn input last off (int) constant.

See Also:
Constant Field Values

CHECK_ALL_OUTPUTS_ON

public static final int CHECK_ALL_OUTPUTS_ON
Define the turn input last off (int) constant.

See Also:
Constant Field Values

CHECK_ALL_OUTPUTS_OFF

public static final int CHECK_ALL_OUTPUTS_OFF
Define the turn input last off (int) constant.

See Also:
Constant Field Values

CHECK_FIRST_OUTPUT_ON

public static final int CHECK_FIRST_OUTPUT_ON
Define the turn input last off (int) constant.

See Also:
Constant Field Values

CHECK_FIRST_OUTPUT_OFF

public static final int CHECK_FIRST_OUTPUT_OFF
Define the turn input last off (int) constant.

See Also:
Constant Field Values

CHECK_LAST_OUTPUT_ON

public static final int CHECK_LAST_OUTPUT_ON
Define the turn input last off (int) constant.

See Also:
Constant Field Values

CHECK_LAST_OUTPUT_OFF

public static final int CHECK_LAST_OUTPUT_OFF
Define the turn input last off (int) constant.

See Also:
Constant Field Values

SET_ANALOG_INPUTS

public static final int SET_ANALOG_INPUTS
Define the set analog input (int) constant.

See Also:
Constant Field Values

ANALOG_INPUT_NOT_IN_CORRECT_RANGE

public static final int ANALOG_INPUT_NOT_IN_CORRECT_RANGE
Define the analog input not in correct range (int) constant.

See Also:
Constant Field Values

CHECK_ALL_ANALOG_OUTPUTS_ZERO

public static final int CHECK_ALL_ANALOG_OUTPUTS_ZERO
Define the check all analog outputs zero (int) constant.

See Also:
Constant Field Values

CHECK_ALL_ANALOG_OUTPUTS

public static final int CHECK_ALL_ANALOG_OUTPUTS
Define the check all analog outputs (int) constant.

See Also:
Constant Field Values

CHECK_ALL_DIGITAL_OUTPUTS_ON

public static final int CHECK_ALL_DIGITAL_OUTPUTS_ON
Define the check all digital outputs on (int) constant.

See Also:
Constant Field Values

SET_ANALOG_INPUTS_NOT_IN_RANGE

public static final int SET_ANALOG_INPUTS_NOT_IN_RANGE
Define the set analog inputs not in range (int) constant.

See Also:
Constant Field Values

ANALOG_INPUT__SHOULD_BE_NOT_IN_CORRECT_RANGE

public static final int ANALOG_INPUT__SHOULD_BE_NOT_IN_CORRECT_RANGE
Define the analog input should be not in correct range (int) constant.

See Also:
Constant Field Values

DefaultResourceBundle

public static java.util.ResourceBundle DefaultResourceBundle
Define the default resource bundle (ResourceBundle) field.

Constructor Detail

GpioProfileTestAgent

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

Method Detail

main

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

Parameters:
arguments - The arguments (String[]) parameter.
See Also:
GpioProfileTestAgent

getDescription

public java.lang.String getDescription()
Gets the description (String) value.

Returns:
Results of the get description (String) value.

loadTestClass

public java.lang.Class loadTestClass()
Load test class and return the Class result.

Returns:
Results of the load test class (Class) value.

2010-01-22 1.2.0

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