2010-01-26 1.2.0

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

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

public class GpioProfileAnalogOutputTestCase
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
GpioProfileAnalogOutputTestCase(java.lang.String name)
          Constructs a new instance of the GpioProfileAnalogOutputTestCase class.
 
Method Summary
static void main(java.lang.String[] arguments)
          Main method to run tests in a stand alone mode.
protected  void setUp()
          Set up.
 void test000_AnalogOutputValues()
          Test000_ setting all analog outputs to values specified in test script
 void test010_AnalogOutputValuesZero()
          Test010_ setting all analog outputs to zero
 
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

GpioProfileAnalogOutputTestCase

public GpioProfileAnalogOutputTestCase(java.lang.String name)
Constructs a new instance of the GpioProfileAnalogOutputTestCase 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

setUp

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

Throws:
java.lang.Exception - Exception.

test000_AnalogOutputValues

public void test000_AnalogOutputValues()
                                throws java.lang.InterruptedException,
                                       java.io.IOException
Test000_ setting all analog outputs to values specified in test script

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

test010_AnalogOutputValuesZero

public void test010_AnalogOutputValuesZero()
                                    throws java.lang.InterruptedException,
                                           java.io.IOException
Test010_ setting all analog outputs to zero

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

2010-01-26 1.2.0

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