ALMA Computing Group

alma::acs::component::dynwrapper::DynamicProxyFactoryTest Class Reference

A quick test for the alma.acs.component.dynwrapper package that uses a non-component implementation of the alma.demo.XmlComponentJ interface, thus shortcutting container overhead. More...

List of all members.

Public Member Functions

 DynamicProxyFactoryTest (String name)
 Constructor for DynamicProxyFactoryTest.
void testCreateServerProxy () throws DynWrapperException
void testCallCreateObsProposal () throws DynWrapperException
void testCallXmlInOutMethod () throws DynWrapperException
void testCallGetAllSchedBlocks () throws DynWrapperException
void testCallGetEntireTreeInAStruct () throws DynWrapperException
void testEmptyXml () throws DynWrapperException
 Sends an empty (one blank) XML representation of an ObsProposal to the method xmlInOutMethod.
void testInvalidXml () throws DynWrapperException

Protected Member Functions

void setUp () throws Exception

Private Member Functions

XmlComponentOperations createServerProxy () throws DynWrapperException

Private Attributes

Class corbaIF = alma.demo.XmlComponentOperations.class
XmlComponentJ compImpl
Class compIF = XmlComponentJ.class
Logger m_logger = ClientLogManager.getAcsLogManager().getLoggerForApplication("DynamicProxyFactoryTest", false)


Detailed Description

A quick test for the alma.acs.component.dynwrapper package that uses a non-component implementation of the alma.demo.XmlComponentJ interface, thus shortcutting container overhead.

Author:
hsommer Dec 4, 2002 4:49:21 PM $Id$

Definition at line 58 of file DynamicProxyFactoryTest.java.


Constructor & Destructor Documentation

alma::acs::component::dynwrapper::DynamicProxyFactoryTest::DynamicProxyFactoryTest String  name  )  [inline]
 

Constructor for DynamicProxyFactoryTest.

Parameters:
name 
Definition at line 69 of file DynamicProxyFactoryTest.java.


Member Function Documentation

XmlComponentOperations alma::acs::component::dynwrapper::DynamicProxyFactoryTest::createServerProxy  )  throws DynWrapperException [inline, private]
 

Definition at line 94 of file DynamicProxyFactoryTest.java.

References compIF, compImpl, corbaIF, and m_logger.

Referenced by testCallCreateObsProposal(), testCallGetAllSchedBlocks(), testCallGetEntireTreeInAStruct(), testCallXmlInOutMethod(), testCreateServerProxy(), testEmptyXml(), and testInvalidXml().

void alma::acs::component::dynwrapper::DynamicProxyFactoryTest::setUp  )  throws Exception [inline, protected]
 

See also:
TestCase#setUp()
Definition at line 77 of file DynamicProxyFactoryTest.java.

References compImpl.

void alma::acs::component::dynwrapper::DynamicProxyFactoryTest::testCallCreateObsProposal  )  throws DynWrapperException [inline]
 

Definition at line 102 of file DynamicProxyFactoryTest.java.

References createServerProxy().

void alma::acs::component::dynwrapper::DynamicProxyFactoryTest::testCallGetAllSchedBlocks  )  throws DynWrapperException [inline]
 

Definition at line 138 of file DynamicProxyFactoryTest.java.

References createServerProxy().

void alma::acs::component::dynwrapper::DynamicProxyFactoryTest::testCallGetEntireTreeInAStruct  )  throws DynWrapperException [inline]
 

Definition at line 156 of file DynamicProxyFactoryTest.java.

References createServerProxy().

void alma::acs::component::dynwrapper::DynamicProxyFactoryTest::testCallXmlInOutMethod  )  throws DynWrapperException [inline]
 

Definition at line 114 of file DynamicProxyFactoryTest.java.

References createServerProxy().

void alma::acs::component::dynwrapper::DynamicProxyFactoryTest::testCreateServerProxy  )  throws DynWrapperException [inline]
 

Definition at line 83 of file DynamicProxyFactoryTest.java.

References compIF, compImpl, corbaIF, and createServerProxy().

void alma::acs::component::dynwrapper::DynamicProxyFactoryTest::testEmptyXml  )  throws DynWrapperException [inline]
 

Sends an empty (one blank) XML representation of an ObsProposal to the method xmlInOutMethod.

Expects to not get an exception.

Exceptions:
DynWrapperException 
Definition at line 180 of file DynamicProxyFactoryTest.java.

References createServerProxy().

void alma::acs::component::dynwrapper::DynamicProxyFactoryTest::testInvalidXml  )  throws DynWrapperException [inline]
 

Definition at line 197 of file DynamicProxyFactoryTest.java.

References createServerProxy().


Member Data Documentation

Class alma::acs::component::dynwrapper::DynamicProxyFactoryTest::compIF = XmlComponentJ.class [private]
 

Definition at line 62 of file DynamicProxyFactoryTest.java.

Referenced by createServerProxy(), and testCreateServerProxy().

XmlComponentJ alma::acs::component::dynwrapper::DynamicProxyFactoryTest::compImpl [private]
 

Definition at line 61 of file DynamicProxyFactoryTest.java.

Referenced by createServerProxy(), setUp(), and testCreateServerProxy().

Class alma::acs::component::dynwrapper::DynamicProxyFactoryTest::corbaIF = alma.demo.XmlComponentOperations.class [private]
 

Definition at line 60 of file DynamicProxyFactoryTest.java.

Referenced by createServerProxy(), and testCreateServerProxy().

Logger alma::acs::component::dynwrapper::DynamicProxyFactoryTest::m_logger = ClientLogManager.getAcsLogManager().getLoggerForApplication("DynamicProxyFactoryTest", false) [private]
 

Definition at line 63 of file DynamicProxyFactoryTest.java.

Referenced by createServerProxy().


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