Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

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]
 

creates schedblock xml. not fancy, always the same ID, but good enough for the test.

void alma::demo::client::XmlComponentClient::setUp  )  throws Exception [inline, protected]
 

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

Takes a hard-coded XML of a SchedBlock and sends it to addNewSchedBlocks.

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

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

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

Throws an exception.

Exceptions:
Exception 

void alma::demo::client::XmlComponentClient::testSayHelloUsingHelloDemoComponent  )  [inline]
 

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

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


Member Data Documentation

XmlComponent alma::demo::client::XmlComponentClient::m_xmlComp [private]
 

XmlComponentJ alma::demo::client::XmlComponentClient::m_xmlCompJ [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:03:54 2009 for ACS Java API by doxygen 1.3.8