

Public Member Functions | |
| ComponentTestclient () throws Exception | |
| void | testComponentName () |
| void | testStateManager () |
| void | testTimeout () throws Exception |
| void | testGetReferenceWithCustomClientSideTimeout () |
| void | testGetDynamicDummyComponent () |
| void | testGetThreadFactory () |
| void | testFindDummyComponentsByType () throws Exception |
| void | testGetCollocatedComponent () throws Exception |
| void | testGetComponentNonSticky () throws Exception |
| void | testComponentListening () throws Exception |
Protected Member Functions | |
| void | setUp () throws Exception |
Private Attributes | |
| ContainerServicesTester | m_contSrvTesterComp |
Static Private Attributes | |
| static final String | CONTSRVCOMP_INSTANCE = "CONT_SERVICES_TESTER" |
| static final String | DEFAULT_DUMMYCOMP_INSTANCE = "DefaultDummyComp" |
| static final String | DUMMYCOMP2_TYPENAME = "IDL:alma/jconttest/DummyComponent2:1.0" |
| alma::acs::container::ComponentTestclient::ComponentTestclient | ( | ) | throws Exception [inline] |
| void alma::acs::container::ComponentTestclient::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 CONTSRVCOMP_INSTANCE, alma::acs::container::ContainerServices::getComponent(), alma::acs::component::client::ComponentClientTestCase::getContainerServices(), and m_contSrvTesterComp.
| void alma::acs::container::ComponentTestclient::testComponentListening | ( | ) | throws Exception [inline] |
References alma::acs::component::client::ComponentClientTestCase::acsCorba, alma::acs::container::BlockingComponentListener::awaitNotifications(), alma::acs::container::BlockingComponentListener::clearAndExpect(), DEFAULT_DUMMYCOMP_INSTANCE, alma::acs::container::OtherComponentClient::forceReleaseComponent(), alma::acs::container::BlockingComponentListener::getAllCompNamesUnavailable(), alma::acs::container::BlockingComponentListener::getAllCompsAvailable(), alma::acs::container::ContainerServices::getComponent(), alma::acs::container::OtherComponentClient::getComponent(), alma::acs::component::client::ComponentClientTestCase::getContainerServices(), alma::acs::component::client::ComponentClientTestCase::m_logger, alma::acs::component::client::ComponentClientTestCase::m_managerLoc, and alma::acs::container::ContainerServices::registerComponentListener().
| void alma::acs::container::ComponentTestclient::testComponentName | ( | ) | [inline] |
References CONTSRVCOMP_INSTANCE, and m_contSrvTesterComp.
| void alma::acs::container::ComponentTestclient::testFindDummyComponentsByType | ( | ) | throws Exception [inline] |
References m_contSrvTesterComp, and alma::ACS::stringSeqHolder::value.
| void alma::acs::container::ComponentTestclient::testGetCollocatedComponent | ( | ) | throws Exception [inline] |
References CONTSRVCOMP_INSTANCE, DUMMYCOMP2_TYPENAME, and m_contSrvTesterComp.
| void alma::acs::container::ComponentTestclient::testGetComponentNonSticky | ( | ) | throws Exception [inline] |
| void alma::acs::container::ComponentTestclient::testGetDynamicDummyComponent | ( | ) | [inline] |
References m_contSrvTesterComp.
| void alma::acs::container::ComponentTestclient::testGetReferenceWithCustomClientSideTimeout | ( | ) | [inline] |
References m_contSrvTesterComp.
| void alma::acs::container::ComponentTestclient::testGetThreadFactory | ( | ) | [inline] |
References m_contSrvTesterComp.
| void alma::acs::container::ComponentTestclient::testStateManager | ( | ) | [inline] |
References m_contSrvTesterComp.
| void alma::acs::container::ComponentTestclient::testTimeout | ( | ) | throws Exception [inline] |
This test will use custom client side timeout, ignoring Container Timeout
References DEFAULT_DUMMYCOMP_INSTANCE, alma::acs::container::ContainerServices::getComponent(), alma::acs::component::client::ComponentClientTestCase::getContainerServices(), alma::acs::util::StopWatch::getLapTimeMillis(), alma::acs::container::ContainerServices::getReferenceWithCustomClientSideTimeout(), alma::acs::component::client::ComponentClientTestCase::m_logger, and alma::acs::container::ContainerServices::releaseComponent().
final String alma::acs::container::ComponentTestclient::CONTSRVCOMP_INSTANCE = "CONT_SERVICES_TESTER" [static, private] |
Referenced by setUp(), testComponentName(), and testGetCollocatedComponent().
final String alma::acs::container::ComponentTestclient::DEFAULT_DUMMYCOMP_INSTANCE = "DefaultDummyComp" [static, private] |
Referenced by testComponentListening(), testGetComponentNonSticky(), and testTimeout().
final String alma::acs::container::ComponentTestclient::DUMMYCOMP2_TYPENAME = "IDL:alma/jconttest/DummyComponent2:1.0" [static, private] |
Referenced by testGetCollocatedComponent().
ContainerServicesTester alma::acs::container::ComponentTestclient::m_contSrvTesterComp [private] |
1.6.2