org::xmlBlaster::test::TestProperty Class Reference

Tests the property class. More...

Inheritance diagram for org::xmlBlaster::test::TestProperty:

Inheritance graph
[legend]
Collaboration diagram for org::xmlBlaster::test::TestProperty:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TestProperty (int args, char *argc[])
 Constructs the TestProperty object.
virtual ~TestProperty ()
void testDefault ()
 TEST: Construct a message and publish it.
void testReplace ()
 TEST: Construct a message and publish it.
void testLoadPropertyFile ()
 TEST: Construct a message and publish it.
void setUp ()
 Sets up the fixture.
void tearDown ()
 Tears down the fixture.
void usage ()

Detailed Description

Tests the property class.

Definition at line 43 of file TestProperty.cpp.


Constructor & Destructor Documentation

org::xmlBlaster::test::TestProperty::TestProperty ( int  args,
char *  argc[] 
)

Constructs the TestProperty object.

Parameters:
testName The name used in the test suite
loginName The name to login to the xmlBlaster

Definition at line 56 of file TestProperty.cpp.

virtual org::xmlBlaster::test::TestProperty::~TestProperty (  )  [virtual]

Definition at line 61 of file TestProperty.cpp.


Member Function Documentation

void org::xmlBlaster::test::TestProperty::testDefault (  ) 

TEST: Construct a message and publish it.

The returned publishOid is checked

Definition at line 69 of file TestProperty.cpp.

References org::xmlBlaster::test::assertEquals(), org::xmlBlaster::util::Property::get(), org::xmlBlaster::test::TestSuite::log_, org::xmlBlaster::test::TestSuite::ME, org::xmlBlaster::util::Property::toXml(), and org::xmlBlaster::util::I_Log::trace().

Referenced by main().

void org::xmlBlaster::test::TestProperty::testReplace (  ) 

TEST: Construct a message and publish it.

The returned publishOid is checked

Definition at line 111 of file TestProperty.cpp.

References org::xmlBlaster::test::assertEquals(), org::xmlBlaster::util::Property::get(), org::xmlBlaster::test::TestSuite::log_, org::xmlBlaster::test::TestSuite::ME, org::xmlBlaster::util::Property::setProperty(), org::xmlBlaster::util::Property::toXml(), and org::xmlBlaster::util::I_Log::trace().

Referenced by main().

void org::xmlBlaster::test::TestProperty::testLoadPropertyFile (  ) 

TEST: Construct a message and publish it.

The returned publishOid is checked

Definition at line 126 of file TestProperty.cpp.

References org::xmlBlaster::util::Property::loadPropertyFile(), org::xmlBlaster::test::TestSuite::log_, org::xmlBlaster::test::TestSuite::ME, org::xmlBlaster::util::Property::toXml(), and org::xmlBlaster::util::I_Log::trace().

Referenced by main().

void org::xmlBlaster::test::TestProperty::setUp (  )  [virtual]

Sets up the fixture.

Reimplemented from org::xmlBlaster::test::TestSuite.

Definition at line 139 of file TestProperty.cpp.

References org::xmlBlaster::test::TestSuite::setUp().

Referenced by main().

void org::xmlBlaster::test::TestProperty::tearDown (  )  [virtual]

Tears down the fixture.

Reimplemented from org::xmlBlaster::test::TestSuite.

Definition at line 147 of file TestProperty.cpp.

References org::xmlBlaster::util::I_Log::info(), org::xmlBlaster::test::TestSuite::log_, org::xmlBlaster::test::TestSuite::ME, and org::xmlBlaster::test::TestSuite::tearDown().

Referenced by main().

void org::xmlBlaster::test::TestProperty::usage (  )  [virtual]

Reimplemented from org::xmlBlaster::test::TestSuite.

Definition at line 153 of file TestProperty.cpp.

References org::xmlBlaster::test::TestSuite::log_, org::xmlBlaster::test::TestSuite::ME, org::xmlBlaster::util::I_Log::plain(), and org::xmlBlaster::test::TestSuite::usage().


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