

Public Member Functions | |
| LampAccessClient () throws Exception | |
| void | testGetLampBrightness () throws LampUnavailable |
| void | testSetLampBrightness () throws LampUnavailable |
Protected Member Functions | |
| void | setUp () throws Exception |
Private Attributes | |
| LampAccess | m_comp |
JUnit test client for LampAccessComponent.
| alma::demo::client::LampAccessClient::LampAccessClient | ( | ) | throws Exception [inline] |
Creates a component with a name.
| void alma::demo::client::LampAccessClient::setUp | ( | ) | throws Exception [inline, protected] |
Sets up the environment and gets a reference to the LampAccess component. This method is called before the test is executed.
Reimplemented from alma::acs::component::client::ComponentClientTestCase.
References alma::acs::container::ContainerServices::getComponent(), alma::acs::component::client::ComponentClientTestCase::getContainerServices(), and m_comp.
| void alma::demo::client::LampAccessClient::testGetLampBrightness | ( | ) | throws LampUnavailable [inline] |
Compares the default brightness value with zero.
References alma::demo::LampAccessOperations::getLampBrightness(), and m_comp.
| void alma::demo::client::LampAccessClient::testSetLampBrightness | ( | ) | throws LampUnavailable [inline] |
Compares the set brightness value with the expected.
References alma::demo::LampAccessOperations::getLampBrightness(), m_comp, and alma::demo::LampAccessOperations::setLampBrightness().
Referenced by setUp(), testGetLampBrightness(), and testSetLampBrightness().
1.6.2