utfsm::TestAlarmDAO Class Reference

Inheritance diagram for utfsm::TestAlarmDAO:
Inheritance graph
[legend]
Collaboration diagram for utfsm::TestAlarmDAO:
Collaboration graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

utfsm::TestAlarmDAO::TestAlarmDAO (  )  throws Exception [inline]

Referenced by main().


Member Function Documentation

static void utfsm::TestAlarmDAO::main ( String[]  args  )  [inline, static]
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.

See also:
junit.framework.TestCase::setUp()

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.

See also:
junit.framework.TestCase::tearDown()

Reimplemented from alma::acs::component::client::ComponentClientTestCase.

void utfsm::TestAlarmDAO::testGetSources (  )  throws Exception [inline]

Member Data Documentation

Referenced by setUp(), and testGetSources().

Referenced by setUp().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2