

Public Member Functions | |
| PubSubTest () throws Exception | |
| void | tearDown () throws Exception |
| void | setUp () throws Exception |
| void | testTopicConnection () throws Exception |
| void | onMessage (Message msg) |
Package Attributes | |
| String | msgToSend = new String ("Message for test") |
| ACSJMSTopicConnectionFactory | factory = null |
| alma::acsjms::test::PubSubTest::PubSubTest | ( | ) | throws Exception [inline] |
| void alma::acsjms::test::PubSubTest::onMessage | ( | Message | msg | ) | [inline] |
References com::cosylab::acs::jms::ACSJMSTextMessage::getText(), and msgToSend.
| void alma::acsjms::test::PubSubTest::setUp | ( | ) | throws Exception [inline] |
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 factory, and alma::acs::component::client::ComponentClientTestCase::getContainerServices().
| void alma::acsjms::test::PubSubTest::tearDown | ( | ) | throws Exception [inline] |
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::PubSubTest::testTopicConnection | ( | ) | throws Exception [inline] |
ACSJMSTopicConnectionFactory alma::acsjms::test::PubSubTest::factory = null [package] |
Referenced by setUp(), and testTopicConnection().
String alma::acsjms::test::PubSubTest::msgToSend = new String ("Message for test") [package] |
Referenced by onMessage(), and testTopicConnection().
1.6.2