

Public Member Functions | |
| MessageTest () throws Exception | |
| void | testACSJMSMessage () throws Exception |
| void | testTextMessage () throws Exception |
| void | testObjectMessage () throws Exception |
| void | testEntity () throws Exception |
Protected Member Functions | |
| void | setUp () throws Exception |
| void | tearDown () throws Exception |
Test the messages (Message, ObjectMessage and TextMessage)
| alma::acsjms::test::MessageTest::MessageTest | ( | ) | throws Exception [inline] |
| void alma::acsjms::test::MessageTest::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.
| void alma::acsjms::test::MessageTest::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.
| void alma::acsjms::test::MessageTest::testACSJMSMessage | ( | ) | throws Exception [inline] |
Test some of the implemented methods of ACSJMSMessage
| Exception |
References com::cosylab::acs::jms::ACSJMSMessage::clearProperties(), com::cosylab::acs::jms::ACSJMSMessage::getBooleanProperty(), alma::acs::component::client::ComponentClientTestCase::getContainerServices(), com::cosylab::acs::jms::ACSJMSMessage::getEntity(), com::cosylab::acs::jms::ACSJMSMessage::getIntProperty(), com::cosylab::acs::jms::ACSJMSMessage::getStringProperty(), com::cosylab::acs::jms::ACSJMSMessage::propertyExists(), and com::cosylab::acs::jms::ACSJMSMessage::setObjectProperty().
| void alma::acsjms::test::MessageTest::testEntity | ( | ) | throws Exception [inline] |
| void alma::acsjms::test::MessageTest::testObjectMessage | ( | ) | throws Exception [inline] |
Test the ACSJMSObjectMessage
| Exception |
References alma::acs::component::client::ComponentClientTestCase::getContainerServices(), com::cosylab::acs::jms::ACSJMSObjectMessage::getObject(), and com::cosylab::acs::jms::ACSJMSObjectMessage::setObject().
| void alma::acsjms::test::MessageTest::testTextMessage | ( | ) | throws Exception [inline] |
Test the ACSJMSTextMessage
| Exception |
References alma::acs::component::client::ComponentClientTestCase::getContainerServices(), com::cosylab::acs::jms::ACSJMSTextMessage::getText(), and com::cosylab::acs::jms::ACSJMSTextMessage::setText().
1.6.2