

Public Member Functions | |
| FactoryTest () throws Exception | |
| void | testNoALarmBranch () throws Exception |
| void | testACSAS () throws Exception |
| void | testCERNAS () throws Exception |
| void | testWrongImplementationProp () throws Exception |
| void | testFaultStateCreation () throws Exception |
| void | testAlarmSourceCreation () throws Exception |
Protected Member Functions | |
| void | setUp () throws Exception |
| void | tearDown () throws Exception |
Private Attributes | |
| String | curDir = System.getProperty("user.dir") |
| JDAL | jdal |
| alma::alarmsystem::source::test::FactoryTest::FactoryTest | ( | ) | throws Exception [inline] |
| void alma::alarmsystem::source::test::FactoryTest::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 jdal, and alma::acs::component::client::ComponentClientTestCase::m_acsManagerProxy.
| void alma::alarmsystem::source::test::FactoryTest::tearDown | ( | ) | throws Exception [inline, protected] |
Reimplemented from alma::acs::component::client::ComponentClientTestCase.
| void alma::alarmsystem::source::test::FactoryTest::testACSAS | ( | ) | throws Exception [inline] |
Check if the ACS implementation of the AS is choosen when there ACS is in the CDB
| Exception |
References com::cosylab::CDB::JDALOperations::clear_cache_all(), curDir, alma::acs::component::client::ComponentClientTestCase::getContainerServices(), and jdal.
| void alma::alarmsystem::source::test::FactoryTest::testAlarmSourceCreation | ( | ) | throws Exception [inline] |
Test the creation of a source (proxy)
| Exception |
References com::cosylab::CDB::JDALOperations::clear_cache_all(), curDir, alma::acs::component::client::ComponentClientTestCase::getContainerServices(), and jdal.
| void alma::alarmsystem::source::test::FactoryTest::testCERNAS | ( | ) | throws Exception [inline] |
Check if the CERN implementation of the AS is choosen when there CERN is in the CDB
| Exception |
References com::cosylab::CDB::JDALOperations::clear_cache_all(), curDir, alma::acs::component::client::ComponentClientTestCase::getContainerServices(), and jdal.
| void alma::alarmsystem::source::test::FactoryTest::testFaultStateCreation | ( | ) | throws Exception [inline] |
Test the creation of a FaultState
| Exception |
References com::cosylab::CDB::JDALOperations::clear_cache_all(), curDir, alma::acs::component::client::ComponentClientTestCase::getContainerServices(), and jdal.
| void alma::alarmsystem::source::test::FactoryTest::testNoALarmBranch | ( | ) | throws Exception [inline] |
Check if the ACS implementation of the AS is chosen when there is no Alarm branch in the CDB
| Exception |
References com::cosylab::CDB::JDALOperations::clear_cache_all(), curDir, alma::acs::component::client::ComponentClientTestCase::getContainerServices(), and jdal.
| void alma::alarmsystem::source::test::FactoryTest::testWrongImplementationProp | ( | ) | throws Exception [inline] |
Check if the ACS implementation is used when the Implementation property is wrong
| Exception |
References com::cosylab::CDB::JDALOperations::clear_cache_all(), curDir, alma::acs::component::client::ComponentClientTestCase::getContainerServices(), and jdal.
String alma::alarmsystem::source::test::FactoryTest::curDir = System.getProperty("user.dir") [private] |
1.6.2