Public Member Functions | Protected Member Functions

alma.demo.client.LampAccessClient Class Reference

Inheritance diagram for alma.demo.client.LampAccessClient:
alma.acs.component.client.ComponentClientTestCase

List of all members.

Public Member Functions

 LampAccessClient () throws Exception
void testGetLampBrightness () throws LampUnavailable
void testSetLampBrightness () throws LampUnavailable

Protected Member Functions

void setUp () throws Exception

Detailed Description

JUnit test client for LampAccessComponent.

Author:
radi

Constructor & Destructor Documentation

alma.demo.client.LampAccessClient.LampAccessClient (  )  throws Exception

Creates a component with a name.

See also:
java.lang.Object.Object()

Member Function Documentation

void alma.demo.client.LampAccessClient.setUp (  )  throws Exception [protected]

Sets up the environment and gets a reference to the LampAccess component. This method is called before the test is executed.

See also:
junit.framework.TestCase.setUp()

Reimplemented from alma.acs.component.client.ComponentClientTestCase.

References alma.acs.container.ContainerServices.getComponent(), and alma.acs.component.client.ComponentClientTestCase.getContainerServices().

void alma.demo.client.LampAccessClient.testGetLampBrightness (  )  throws LampUnavailable

Compares the default brightness value with zero.

void alma.demo.client.LampAccessClient.testSetLampBrightness (  )  throws LampUnavailable

Compares the set brightness value with the expected.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties