

Public Member Functions | |
| SpecialTestMasterComponentTest () throws Exception | |
| void | testHealthySubsystemLifecycle () throws Exception |
| void | testOtherProperty () |
Protected Member Functions | |
| void | initAcsLogging () |
| void | setUp () throws Exception |
| void | tearDown () throws Exception |
Private Attributes | |
| SpecialTestMasterComponent | m_masterComp |
| alma::ACS::SpecialTestMasterComponentImpl::SpecialTestMasterComponentTest::SpecialTestMasterComponentTest | ( | ) | throws Exception [inline] |
| void alma::ACS::SpecialTestMasterComponentImpl::SpecialTestMasterComponentTest::initAcsLogging | ( | ) | [inline, protected] |
| void alma::ACS::SpecialTestMasterComponentImpl::SpecialTestMasterComponentTest::setUp | ( | ) | throws Exception [inline, protected] |
Starts CORBA in the client process and connects to the manager and logger.
Subclasses that override this method must call super.setUp(), likely before any other code in that method.
Reimplemented from alma::acs::component::client::ComponentClientTestCase.
References alma::acs::container::ContainerServices::getComponent(), alma::acs::component::client::ComponentClientTestCase::getContainerServices(), and m_masterComp.
| void alma::ACS::SpecialTestMasterComponentImpl::SpecialTestMasterComponentTest::tearDown | ( | ) | throws Exception [inline, protected] |
Releases all previously obtained components (using manager), logs out from the manager, and terminates the CORBA ORB.
Subclasses that override this method must call super.tearDown(), likely after any other code in that method.
Reimplemented from alma::acs::component::client::ComponentClientTestCase.
| void alma::ACS::SpecialTestMasterComponentImpl::SpecialTestMasterComponentTest::testHealthySubsystemLifecycle | ( | ) | throws Exception [inline] |
Sends the normally expected events SUBSYSEVENT_INITPASS1, SUBSYSEVENT_INITPASS2, SUBSYSEVENT_START, SUBSYSEVENT_STOP, SUBSYSEVENT_SHUTDOWNPASS1, SUBSYSEVENT_SHUTDOWNPASS2 to our test master component. Uses state change notification to synchronize sending the next event.
| Exception |
References alma::ACS::MasterComponentImpl::StateChangeListener::createMonitor(), alma::ACS::MasterComponentImpl::StateChangeListener::destroyMonitor(), alma::acs::component::client::ComponentClientTestCase::getContainerServices(), alma::ACS::MasterComponentImpl::StateChangeListener::getStateChangeSemaphore(), alma::acs::component::client::ComponentClientTestCase::m_logger, m_masterComp, alma::ACS::MasterComponentImpl::StateChangeSemaphore::reset(), and alma::ACS::MasterComponentImpl::StateChangeSemaphore::waitForStateChanges().
| void alma::ACS::SpecialTestMasterComponentImpl::SpecialTestMasterComponentTest::testOtherProperty | ( | ) | [inline] |
SpecialTestMasterComponent alma::ACS::SpecialTestMasterComponentImpl::SpecialTestMasterComponentTest::m_masterComp [private] |
Referenced by setUp(), testHealthySubsystemLifecycle(), and testOtherProperty().
1.6.2