

Public Member Functions | |
| TestAlarmService () throws Exception | |
| void | setUp () throws Exception |
| void | tearDown () throws Exception |
| void | testGetCategories () throws Exception |
| void | testGetCategoryRoot () throws Exception |
| void | testSources () throws Exception |
Private Attributes | |
| CERNAlarmService | alarmService |
| ContainerServices | contSvcs |
| CernAlarmServiceUtils | utils |
Test the alarm service component by calling its IDL methods
| alma::acs::lasercore::test::TestAlarmService::TestAlarmService | ( | ) | throws Exception [inline] |
Constructor
| Exception |
| void alma::acs::lasercore::test::TestAlarmService::setUp | ( | ) | throws Exception [inline] |
Reimplemented from alma::acs::component::client::ComponentClientTestCase.
References alarmService, contSvcs, alma::alarmsystem::corbaservice::CernAlarmServiceUtils::getCernAlarmService(), alma::acs::component::client::ComponentClientTestCase::getContainerServices(), and utils.
| void alma::acs::lasercore::test::TestAlarmService::tearDown | ( | ) | throws Exception [inline] |
Reimplemented from alma::acs::component::client::ComponentClientTestCase.
References alarmService.
| void alma::acs::lasercore::test::TestAlarmService::testGetCategories | ( | ) | throws Exception [inline] |
Test AlarmSerrvice's getCategories
| Exception |
References alarmService, and alma::alarmsystem::CERNAlarmServiceOperations::getCategories().
| void alma::acs::lasercore::test::TestAlarmService::testGetCategoryRoot | ( | ) | throws Exception [inline] |
Check if the category root is OK
| Exception |
References alarmService, alma::alarmsystem::CERNAlarmServiceOperations::getCategoryTreeRoot(), alma::alarmsystem::Category::leaf, alma::alarmsystem::Category::name, and alma::alarmsystem::Category::path.
| void alma::acs::lasercore::test::TestAlarmService::testSources | ( | ) | throws Exception [inline] |
Test if the sources returned by the component are as expected
References alarmService, alma::alarmsystem::CERNAlarmServiceOperations::getSources(), and cern::laser::business::data::Source::sourceId.
The AS component
Referenced by setUp(), tearDown(), testGetCategories(), testGetCategoryRoot(), and testSources().
Container services
Referenced by setUp().
An helper class
Referenced by setUp().
1.6.2