1.0.0

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

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.GpioProfileOutputTestCase

public class GpioProfileOutputTestCase
extends GpioProfileAbstractTestCase

Version:
1.0.0

Field Summary
 
Fields inherited from class org.eclipse.soda.dk.gpio.profile.test.agent.GpioProfileAbstractTestCase
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
GpioProfileOutputTestCase(java.lang.String name)
          Constructs a new instance of the GpioProfileOutputTestCase class.
 
Method Summary
static void main(java.lang.String[] args)
          Main method to run tests in a standalone mode.
protected  void setUp()
          Set up.
 void test010_ClearOutputExpressions()
          Test010_ clear all Output Expression
 void test020_TurnAllOn()
          Test020_ request all output pins on
 void test030_TurnAllOff()
          Test030_ request all output pins off
 void test040_TurnFirstOn()
          Test040_ request first output pin on
 void test050_TurnFirstOff()
          Test050_ request first output pin off
 void test060_TurnLastOn()
          Test060_ request last output pin on
 void test070_TurnLastOff()
          Test070_ request last output pin off
 void test080_Turn_0_On()
          Test080_ request o0 on
 void test090_Turn_0_Off()
          Test090_ request O0 off
 
Methods inherited from class org.eclipse.soda.dk.gpio.profile.test.agent.GpioProfileAbstractTestCase
getCapabilities, getConfiguration, getExternalKeys, getKeysAndSettingsFromProperties, getNotificationService, getStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GpioProfileOutputTestCase

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

Parameters:
name - The name (String) parameter.
Method Detail

main

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

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

setUp

protected void setUp()
              throws java.lang.Exception
Set up.

Throws:
java.lang.Exception

test010_ClearOutputExpressions

public void test010_ClearOutputExpressions()
                                    throws java.lang.InterruptedException
Test010_ clear all Output Expression

Throws:
java.lang.InterruptedException - Interrupted Exception.

test020_TurnAllOn

public void test020_TurnAllOn()
                       throws java.lang.InterruptedException
Test020_ request all output pins on

Throws:
java.lang.InterruptedException - Interrupted Exception.

test030_TurnAllOff

public void test030_TurnAllOff()
                        throws java.lang.InterruptedException
Test030_ request all output pins off

Throws:
java.lang.InterruptedException - Interrupted Exception.

test040_TurnFirstOn

public void test040_TurnFirstOn()
                         throws java.lang.InterruptedException
Test040_ request first output pin on

Throws:
java.lang.InterruptedException - Interrupted Exception.

test050_TurnFirstOff

public void test050_TurnFirstOff()
                          throws java.lang.InterruptedException
Test050_ request first output pin off

Throws:
java.lang.InterruptedException - Interrupted Exception.

test060_TurnLastOn

public void test060_TurnLastOn()
                        throws java.lang.InterruptedException
Test060_ request last output pin on

Throws:
java.lang.InterruptedException - Interrupted Exception.

test070_TurnLastOff

public void test070_TurnLastOff()
                         throws java.lang.InterruptedException
Test070_ request last output pin off

Throws:
java.lang.InterruptedException - Interrupted Exception.

test080_Turn_0_On

public void test080_Turn_0_On()
                       throws java.lang.InterruptedException
Test080_ request o0 on

Throws:
java.lang.InterruptedException - Interrupted Exception.

test090_Turn_0_Off

public void test090_Turn_0_Off()
                        throws java.lang.InterruptedException
Test090_ request O0 off

Throws:
java.lang.InterruptedException - Interrupted Exception.

1.0.0

Copyright (c) 2007 IBM