

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" |
| alma::acsexmpl::clients::ErrorComponentTest::ErrorComponentTest | ( | ) | throws Exception [inline] |
| 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.
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.
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] |
References alma::acsexmplErrorComponent::ErrorComponentOperations::completionFromCompletion(), errorComp, alma::acs::exceptions::AcsJCompletion::fromCorbaCompletion(), alma::acs::exceptions::AcsJCompletion::getAcsJException(), alma::acs::exceptions::AcsJException::log(), alma::acs::component::client::ComponentClientTestCase::m_logger, and verifyErrorTrace().
| void alma::acsexmpl::clients::ErrorComponentTest::testCompletionFromException | ( | ) | [inline] |
References alma::acsexmplErrorComponent::ErrorComponentOperations::completionFromException(), errorComp, alma::acs::exceptions::AcsJCompletion::fromCorbaCompletion(), alma::acs::exceptions::AcsJCompletion::getAcsJException(), alma::acs::exceptions::AcsJException::log(), alma::acs::component::client::ComponentClientTestCase::m_logger, and verifyErrorTrace().
| 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] |
References alma::acsexmplErrorComponent::ErrorComponentOperations::corbaSystemException(), errorComp, alma::acs::exceptions::AcsJException::log(), alma::acs::component::client::ComponentClientTestCase::m_logger, alma::ACSErrTypeCommon::wrappers::AcsJCORBAProblemEx::setCompletionStatus(), alma::ACSErrTypeCommon::wrappers::AcsJGenericErrorEx::setErrorDesc(), alma::ACSErrTypeCommon::wrappers::AcsJCORBAProblemEx::setInfo(), and alma::ACSErrTypeCommon::wrappers::AcsJCORBAProblemEx::setMinor().
| void alma::acsexmpl::clients::ErrorComponentTest::testTypeException | ( | ) | [inline] |
| void alma::acsexmpl::clients::ErrorComponentTest::verifyErrorTrace | ( | int | depth, | |
| AcsJException | jEx | |||
| ) | [inline, private] |
final String alma::acsexmpl::clients::ErrorComponentTest::errorCompName = "ERRORCOMP_JAVA" [static, private] |
Referenced by setUp(), and tearDown().
1.6.2