alma::acsjms::test::PubSubTest Class Reference

Inheritance diagram for alma::acsjms::test::PubSubTest:
Inheritance graph
[legend]
Collaboration diagram for alma::acsjms::test::PubSubTest:
Collaboration graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

alma::acsjms::test::PubSubTest::PubSubTest (  )  throws Exception [inline]

Member Function Documentation

void alma::acsjms::test::PubSubTest::onMessage ( Message  msg  )  [inline]
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.

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

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.

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

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

void alma::acsjms::test::PubSubTest::testTopicConnection (  )  throws Exception [inline]

Member Data Documentation

Referenced by setUp(), and testTopicConnection().

String alma::acsjms::test::PubSubTest::msgToSend = new String ("Message for test") [package]

Referenced by onMessage(), and testTopicConnection().


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

Generated by  doxygen 1.6.2