alma::demo::client::XmlComponentClient Class Reference

Inheritance diagram for alma::demo::client::XmlComponentClient:
Inheritance graph
[legend]
Collaboration diagram for alma::demo::client::XmlComponentClient:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XmlComponentClient () throws Exception
void testSayHelloUsingHelloDemoComponent ()
void testCreateObsProposal ()
void testAddNewSchedBlocks ()
void testXmlInOutMethod ()
void testException () throws Exception

Protected Member Functions

void setUp () throws Exception

Private Member Functions

XmlEntityStruct createSchedBlockXml (boolean breakUnmarshaller)

Private Attributes

XmlComponent m_xmlComp
XmlComponentJ m_xmlCompJ

Detailed Description

JUnit test client for the XmlComponent. Demonstrates the use of ComponentClientTestCase (which is the reason why we have it under /src), but also serves as a real unit test for the ACS framework.

Author:
hsommer Jan 15, 2003 10:22:15 AM

Constructor & Destructor Documentation

alma::demo::client::XmlComponentClient::XmlComponentClient (  )  throws Exception [inline]

Member Function Documentation

XmlEntityStruct alma::demo::client::XmlComponentClient::createSchedBlockXml ( boolean  breakUnmarshaller  )  [inline, private]
void alma::demo::client::XmlComponentClient::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 alma::acs::container::ContainerServices::getComponent(), alma::acs::component::client::ComponentClientTestCase::getContainerServices(), alma::acs::container::ContainerServices::getTransparentXmlComponent(), m_xmlComp, and m_xmlCompJ.

void alma::demo::client::XmlComponentClient::testAddNewSchedBlocks (  )  [inline]
void alma::demo::client::XmlComponentClient::testCreateObsProposal (  )  [inline]

Makes sure the obs proposal exists and checks its entity id.

References alma::demo::XmlComponentJ::createObsProposal(), and m_xmlCompJ.

void alma::demo::client::XmlComponentClient::testException (  )  throws Exception [inline]
void alma::demo::client::XmlComponentClient::testSayHelloUsingHelloDemoComponent (  )  [inline]

Makes sure the method sayHello() on the xmlcomponent returns a reply.

References m_xmlCompJ, and alma::demo::XmlComponentJ::sayHello().

void alma::demo::client::XmlComponentClient::testXmlInOutMethod (  )  [inline]

Member Data Documentation

Referenced by setUp(), and testAddNewSchedBlocks().


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

Generated by  doxygen 1.6.2