Public Member Functions | |
TestAlarmDAO () throws Exception | |
void | setUp () throws Exception |
void | tearDown () throws Exception |
void | testGetSources () throws Exception |
Static Public Member Functions | |
static void | main (String[] args) |
Private Attributes | |
ACSAlarmDAOImpl | alarmDAO |
ContainerServices | m_containerServices |
AdvancedComponentClient | m_client |
utfsm::TestAlarmDAO::TestAlarmDAO | ( | ) | throws Exception [inline] |
Referenced by main().
static void utfsm::TestAlarmDAO::main | ( | String[] | args | ) | [inline, static] |
References setUp(), TestAlarmDAO(), and testGetSources().
void utfsm::TestAlarmDAO::setUp | ( | ) | throws Exception [inline] |
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 alarmDAO, alma::acs::component::client::ComponentClient::getContainerServices(), alma::acs::container::ContainerServicesBase::getLogger(), com::cosylab::acs::laser::dao::ACSAlarmDAOImpl::loadAlarms(), m_client, m_containerServices, and com::cosylab::acs::laser::dao::ACSAlarmDAOImpl::setConfAccessor().
Referenced by main().
void utfsm::TestAlarmDAO::tearDown | ( | ) | throws Exception [inline] |
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 utfsm::TestAlarmDAO::testGetSources | ( | ) | throws Exception [inline] |
ACSAlarmDAOImpl utfsm::TestAlarmDAO::alarmDAO [private] |
Referenced by setUp(), and testGetSources().
Referenced by setUp().
Reimplemented from alma::acs::component::client::ComponentClientTestCase.
Referenced by setUp().