alma::acsexmpl::clients::ErrorComponentTest Class Reference

Inheritance diagram for alma::acsexmpl::clients::ErrorComponentTest:
Inheritance graph
[legend]
Collaboration diagram for alma::acsexmpl::clients::ErrorComponentTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ErrorComponentTest () throws Exception
void testDisplayMessage ()
void testBadMethod ()
void testExceptionFromCompletion ()
void testTypeException ()
void testReceiveCorbaSystemException ()
void testCompletionFromException ()
void testCompletionFromCompletion ()
void testCompletionOnStack ()
void testOutCompletion ()

Protected Member Functions

void setUp () throws Exception
void tearDown () throws Exception

Private Member Functions

void verifyErrorTrace (int depth, AcsJException jEx)

Private Attributes

ErrorComponent errorComp

Static Private Attributes

static final String errorCompName = "ERRORCOMP_JAVA"

Constructor & Destructor Documentation

alma::acsexmpl::clients::ErrorComponentTest::ErrorComponentTest (  )  throws Exception [inline]

Member Function Documentation

void alma::acsexmpl::clients::ErrorComponentTest::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.

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

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

References errorComp, errorCompName, alma::acs::component::client::ComponentClientTestCase::getContainerServices(), and alma::ACS::ACSComponentOperations::name().

void alma::acsexmpl::clients::ErrorComponentTest::tearDown (  )  throws Exception [inline, protected]

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.

References errorCompName, and alma::acs::component::client::ComponentClientTestCase::getContainerServices().

void alma::acsexmpl::clients::ErrorComponentTest::testBadMethod (  )  [inline]
void alma::acsexmpl::clients::ErrorComponentTest::testCompletionFromCompletion (  )  [inline]
void alma::acsexmpl::clients::ErrorComponentTest::testCompletionFromException (  )  [inline]
void alma::acsexmpl::clients::ErrorComponentTest::testCompletionOnStack (  )  [inline]
void alma::acsexmpl::clients::ErrorComponentTest::testDisplayMessage (  )  [inline]
void alma::acsexmpl::clients::ErrorComponentTest::testExceptionFromCompletion (  )  [inline]
void alma::acsexmpl::clients::ErrorComponentTest::testOutCompletion (  )  [inline]
void alma::acsexmpl::clients::ErrorComponentTest::testReceiveCorbaSystemException (  )  [inline]
void alma::acsexmpl::clients::ErrorComponentTest::testTypeException (  )  [inline]
void alma::acsexmpl::clients::ErrorComponentTest::verifyErrorTrace ( int  depth,
AcsJException  jEx 
) [inline, private]

Member Data Documentation

final String alma::acsexmpl::clients::ErrorComponentTest::errorCompName = "ERRORCOMP_JAVA" [static, private]

Referenced by setUp(), and tearDown().


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

Generated by  doxygen 1.6.2