alma::acs::daemontest::ServicesDaemonTest Class Reference

Inheritance diagram for alma::acs::daemontest::ServicesDaemonTest:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::daemontest::ServicesDaemonTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ServicesDaemonTest () throws Exception
void testNamingSrvStartStopCheckCallback () throws Exception
void testStartServiceTwice () throws Exception
void testStopServiceBeforeStarted () throws Exception
void testStartAcsServiceIndividually () throws Throwable
void testServicesBuilder () throws Exception

Protected Member Functions

void runTest () throws Throwable
String getFullName ()
void setUp () throws Exception
void tearDown () throws Exception

Protected Attributes

Logger logger

Private Member Functions

ServicesDaemon getServicesDaemon (String host)
NamingContext getNamingService ()
void assertNamingService (boolean running)
void assertCDB ()
void assertManager ()
DaemonCallback activateDaemonCallback (DaemonCallbackImpl daemonCallbackImpl) throws AcsJContainerEx, AcsJUnexpectedExceptionEx
DaemonSequenceCallback createDaemonSequenceCallback () throws AcsJContainerEx, AcsJUnexpectedExceptionEx

Private Attributes

AcsCorba acsCorba
ServicesDaemon daemon
String host
short instanceNumber = (short) ACSPorts.getBasePort()

Static Private Attributes

static final String namePrefix = "ServicesDaemonTest"

Detailed Description

**** Work in progress, not in TAT yet! ****

Corba-related code copied from ComponentClientTestCase, which we don't use here because it requires a running ACS with manager which we don't need for the daemon test.

Author:
hsommer

Constructor & Destructor Documentation

alma::acs::daemontest::ServicesDaemonTest::ServicesDaemonTest (  )  throws Exception [inline]

References namePrefix.


Member Function Documentation

DaemonCallback alma::acs::daemontest::ServicesDaemonTest::activateDaemonCallback ( DaemonCallbackImpl  daemonCallbackImpl  )  throws AcsJContainerEx, AcsJUnexpectedExceptionEx [inline, private]
void alma::acs::daemontest::ServicesDaemonTest::assertCDB (  )  [inline, private]
void alma::acs::daemontest::ServicesDaemonTest::assertManager (  )  [inline, private]
void alma::acs::daemontest::ServicesDaemonTest::assertNamingService ( boolean  running  )  [inline, private]
DaemonSequenceCallback alma::acs::daemontest::ServicesDaemonTest::createDaemonSequenceCallback (  )  throws AcsJContainerEx, AcsJUnexpectedExceptionEx [inline, private]
String alma::acs::daemontest::ServicesDaemonTest::getFullName (  )  [inline, protected]

References namePrefix.

Referenced by runTest(), and setUp().

NamingContext alma::acs::daemontest::ServicesDaemonTest::getNamingService (  )  [inline, private]
ServicesDaemon alma::acs::daemontest::ServicesDaemonTest::getServicesDaemon ( String  host  )  [inline, private]
void alma::acs::daemontest::ServicesDaemonTest::runTest (  )  throws Throwable [inline, protected]

References getFullName(), and logger.

void alma::acs::daemontest::ServicesDaemonTest::setUp (  )  throws Exception [inline, protected]
void alma::acs::daemontest::ServicesDaemonTest::tearDown (  )  throws Exception [inline, protected]
void alma::acs::daemontest::ServicesDaemonTest::testNamingSrvStartStopCheckCallback (  )  throws Exception [inline]
void alma::acs::daemontest::ServicesDaemonTest::testServicesBuilder (  )  throws Exception [inline]
void alma::acs::daemontest::ServicesDaemonTest::testStartAcsServiceIndividually (  )  throws Throwable [inline]
void alma::acs::daemontest::ServicesDaemonTest::testStartServiceTwice (  )  throws Exception [inline]
void alma::acs::daemontest::ServicesDaemonTest::testStopServiceBeforeStarted (  )  throws Exception [inline]

Member Data Documentation

short alma::acs::daemontest::ServicesDaemonTest::instanceNumber = (short) ACSPorts.getBasePort() [private]
final String alma::acs::daemontest::ServicesDaemonTest::namePrefix = "ServicesDaemonTest" [static, private]

Referenced by getFullName(), and ServicesDaemonTest().


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

Generated by  doxygen 1.6.2