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 | |
final String | namePrefix = "ServicesDaemonTest" |
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.
|
|
|
Creates a DaemonCallbackImpl object and registers it with the ORB. |
|
|
|
|
|
|
|
Creates a DaemonCallbackImpl object and registers it with the ORB. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Starts and stops the naming service via the daemon, checking the callbacks. |
|
|
|
Simple test that only uses the start_xxx and Stop_xxx methods of the daemon, which is one step up from the old acsStart method, but does not use the convenience of the service description. All services are started on the same host. Later they are stopped. |
|
Test starting service twice. It must return ServiceAlreadyRunning exception (immediately or via callback). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|