2010-01-22 1.2.0

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

java.lang.Object
  extended by ProfileAbstractTestCase
      extended by org.eclipse.soda.dk.gpio.profile.test.agent.GpioProfileAbstractTestCase
          extended by org.eclipse.soda.dk.gpio.profile.test.agent.GpioProfileDisconnectTestCase

public class GpioProfileDisconnectTestCase
extends GpioProfileAbstractTestCase

Since:
1.0
Version:
1.2.0

Field Summary
 
Fields inherited from class org.eclipse.soda.dk.gpio.profile.test.agent.GpioProfileAbstractTestCase
gpioProfileServiceAnalogInputCountExternalKey, gpioProfileServiceAnalogInputExternalKey, gpioProfileServiceAnalogOutputCountExternalKey, gpioProfileServiceAnalogOutputExternalKey, gpioProfileServiceAnalogOutputRequestExternalKey, gpioProfileServiceCapabilitiesExternalKey, gpioProfileServiceConfigurationExternalKey, gpioProfileServiceI10DataKey, gpioProfileServiceI11DataKey, gpioProfileServiceI12DataKey, gpioProfileServiceI13DataKey, gpioProfileServiceI14DataKey, gpioProfileServiceI15DataKey, gpioProfileServiceI16DataKey, gpioProfileServiceI17DataKey, gpioProfileServiceI18DataKey, gpioProfileServiceI19DataKey, gpioProfileServiceI1DataKey, gpioProfileServiceI20DataKey, gpioProfileServiceI21DataKey, gpioProfileServiceI22DataKey, gpioProfileServiceI23DataKey, gpioProfileServiceI24DataKey, gpioProfileServiceI25DataKey, gpioProfileServiceI26DataKey, gpioProfileServiceI27DataKey, gpioProfileServiceI28DataKey, gpioProfileServiceI29DataKey, gpioProfileServiceI2DataKey, gpioProfileServiceI30DataKey, gpioProfileServiceI31DataKey, gpioProfileServiceI32DataKey, gpioProfileServiceI3DataKey, gpioProfileServiceI4DataKey, gpioProfileServiceI5DataKey, gpioProfileServiceI6DataKey, gpioProfileServiceI7DataKey, gpioProfileServiceI8DataKey, gpioProfileServiceI9DataKey, gpioProfileServiceInputCountExternalKey, gpioProfileServiceInputExternalKey, gpioProfileServiceO0DataKey, gpioProfileServiceO10DataKey, gpioProfileServiceO11DataKey, gpioProfileServiceO12DataKey, gpioProfileServiceO13DataKey, gpioProfileServiceO14DataKey, gpioProfileServiceO15DataKey, gpioProfileServiceO16DataKey, gpioProfileServiceO17DataKey, gpioProfileServiceO18DataKey, gpioProfileServiceO19DataKey, gpioProfileServiceO1DataKey, gpioProfileServiceO20DataKey, gpioProfileServiceO21DataKey, gpioProfileServiceO22DataKey, gpioProfileServiceO23DataKey, gpioProfileServiceO24DataKey, gpioProfileServiceO25DataKey, gpioProfileServiceO26DataKey, gpioProfileServiceO27DataKey, gpioProfileServiceO28DataKey, gpioProfileServiceO29DataKey, gpioProfileServiceO2DataKey, gpioProfileServiceO30DataKey, gpioProfileServiceO31DataKey, gpioProfileServiceO32DataKey, gpioProfileServiceO3DataKey, gpioProfileServiceO4DataKey, gpioProfileServiceO5DataKey, gpioProfileServiceO6DataKey, gpioProfileServiceO7DataKey, gpioProfileServiceO8DataKey, gpioProfileServiceO9DataKey, gpioProfileServiceOutput0ExpressionExternalKey, gpioProfileServiceOutput10ExpressionExternalKey, gpioProfileServiceOutput11ExpressionExternalKey, gpioProfileServiceOutput12ExpressionExternalKey, gpioProfileServiceOutput13ExpressionExternalKey, gpioProfileServiceOutput14ExpressionExternalKey, gpioProfileServiceOutput15ExpressionExternalKey, gpioProfileServiceOutput16ExpressionExternalKey, gpioProfileServiceOutput17ExpressionExternalKey, gpioProfileServiceOutput18ExpressionExternalKey, gpioProfileServiceOutput19ExpressionExternalKey, gpioProfileServiceOutput1ExpressionExternalKey, gpioProfileServiceOutput20ExpressionExternalKey, gpioProfileServiceOutput21ExpressionExternalKey, gpioProfileServiceOutput22ExpressionExternalKey, gpioProfileServiceOutput23ExpressionExternalKey, gpioProfileServiceOutput24ExpressionExternalKey, gpioProfileServiceOutput25ExpressionExternalKey, gpioProfileServiceOutput26ExpressionExternalKey, gpioProfileServiceOutput27ExpressionExternalKey, gpioProfileServiceOutput28ExpressionExternalKey, gpioProfileServiceOutput29ExpressionExternalKey, gpioProfileServiceOutput2ExpressionExternalKey, gpioProfileServiceOutput30ExpressionExternalKey, gpioProfileServiceOutput31ExpressionExternalKey, gpioProfileServiceOutput32ExpressionExternalKey, gpioProfileServiceOutput3ExpressionExternalKey, gpioProfileServiceOutput4ExpressionExternalKey, gpioProfileServiceOutput5ExpressionExternalKey, gpioProfileServiceOutput6ExpressionExternalKey, gpioProfileServiceOutput7ExpressionExternalKey, gpioProfileServiceOutput8ExpressionExternalKey, gpioProfileServiceOutput9ExpressionExternalKey, gpioProfileServiceOutputCountExternalKey, gpioProfileServiceOutputExternalKey, gpioProfileServiceOutputRequestExternalKey, gpioProfileServiceStatusExternalKey, INVALID_EXPRESSION
 
Constructor Summary
GpioProfileDisconnectTestCase(java.lang.String name)
          Constructs a new instance of the GpioProfileDisconnectTestCase class.
 
Method Summary
static void main(java.lang.String[] arguments)
          Main method to run tests in a stand alone mode.
 void test000_Disconnect()
          Test000_ disconnect.
 void test010_Reconnect()
          Test010_ reconnect.
 void test020_SwitchFirstOn()
          Test020_ switching first input to ON
 void test030_SwitchFirstOff()
          Test030_ switching first input to OFF
 
Methods inherited from class org.eclipse.soda.dk.gpio.profile.test.agent.GpioProfileAbstractTestCase
analogInputWithinRange, getCapabilities, getConfiguration, getExternalKeys, getInputSignal, getKeysAndSettingsFromProperties, getNotificationService, getStatus, reportBits, setAnalogInputRanges, setAnalogOutputValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GpioProfileDisconnectTestCase

public GpioProfileDisconnectTestCase(java.lang.String name)
Constructs a new instance of the GpioProfileDisconnectTestCase class.

Parameters:
name - The name (String) parameter.
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

test000_Disconnect

public void test000_Disconnect()
                        throws java.lang.InterruptedException,
                               java.io.IOException
Test000_ disconnect.

Throws:
java.lang.InterruptedException - Interrupted Exception.
java.io.IOException

test010_Reconnect

public void test010_Reconnect()
                       throws java.lang.InterruptedException,
                              java.io.IOException
Test010_ reconnect.

Throws:
java.lang.InterruptedException - Interrupted Exception.
java.io.IOException

test020_SwitchFirstOn

public void test020_SwitchFirstOn()
                           throws java.lang.InterruptedException,
                                  java.io.IOException
Test020_ switching first input to ON

Throws:
java.lang.InterruptedException - Interrupted Exception.
java.io.IOException

test030_SwitchFirstOff

public void test030_SwitchFirstOff()
                            throws java.lang.InterruptedException,
                                   java.io.IOException
Test030_ switching first input to OFF

Throws:
java.lang.InterruptedException - Interrupted Exception.
java.io.IOException

2010-01-22 1.2.0

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