org::xmlBlaster::test::TestSuite Class Reference

Inheritance diagram for org::xmlBlaster::test::TestSuite:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TestSuite (int args, char *argv[], std::string &name, bool doEmbeddedServerCheck=true)
virtual ~TestSuite ()
virtual void setUp ()
virtual void tearDown ()
void startEmbeddedServer ()
void stopEmbeddedServer ()
virtual void usage ()

Protected Attributes

std::string ME
std::string applName_
org::xmlBlaster::util::Globalglobal_
org::xmlBlaster::util::I_Loglog_
bool useEmbeddedServer_
org::xmlBlaster::client::XmlBlasterAccess connection_
org::xmlBlaster::util::EmbeddedServerembeddedServer_
bool needsHelp_
bool doEmbeddedServerCheck_

Detailed Description

Definition at line 89 of file TestSuite.h.


Constructor & Destructor Documentation

org::xmlBlaster::test::TestSuite::TestSuite ( int  args,
char *  argv[],
std::string &  name,
bool  doEmbeddedServerCheck = true 
)

Definition at line 104 of file TestSuite.h.

References org::xmlBlaster::util::I_Log::call(), connection_, doEmbeddedServerCheck_, embeddedServer_, org::xmlBlaster::util::Property::getBoolProperty(), org::xmlBlaster::util::Global::getProperty(), org::xmlBlaster::util::Property::getStringProperty(), global_, org::xmlBlaster::util::I_Log::info(), log_, ME, needsHelp_, org::xmlBlaster::util::thread::Thread::sleep(), org::xmlBlaster::util::EmbeddedServer::start(), useEmbeddedServer_, and org::xmlBlaster::util::I_Log::warn().

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

Definition at line 151 of file TestSuite.h.

References org::xmlBlaster::util::I_Log::call(), doEmbeddedServerCheck_, embeddedServer_, log_, ME, and org::xmlBlaster::util::I_Log::trace().


Member Function Documentation

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

Reimplemented in org::xmlBlaster::test::TestClientProperty, org::xmlBlaster::test::TestCommand, org::xmlBlaster::test::TestConnect, org::xmlBlaster::test::TestFailsafe, org::xmlBlaster::test::TestGet, org::xmlBlaster::test::TestKeys, org::xmlBlaster::test::TestLeaveServer, org::xmlBlaster::test::TestProperty, org::xmlBlaster::test::TestQos, org::xmlBlaster::test::TestRam, org::xmlBlaster::test::TestSub, and org::xmlBlaster::test::TestSubXPath.

Definition at line 161 of file TestSuite.h.

References needsHelp_, and usage().

Referenced by org::xmlBlaster::test::TestSubXPath::setUp(), org::xmlBlaster::test::TestSub::setUp(), org::xmlBlaster::test::TestRam::setUp(), org::xmlBlaster::test::TestProperty::setUp(), org::xmlBlaster::test::TestLeaveServer::setUp(), org::xmlBlaster::test::TestKeys::setUp(), org::xmlBlaster::test::TestGet::setUp(), org::xmlBlaster::test::TestFailsafe::setUp(), org::xmlBlaster::test::TestConnect::setUp(), and org::xmlBlaster::test::TestCommand::setUp().

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

Reimplemented in org::xmlBlaster::test::TestClientProperty, org::xmlBlaster::test::TestCommand, org::xmlBlaster::test::TestConnect, org::xmlBlaster::test::TestFailsafe, org::xmlBlaster::test::TestGet, org::xmlBlaster::test::TestKeys, org::xmlBlaster::test::TestLeaveServer, org::xmlBlaster::test::TestProperty, org::xmlBlaster::test::TestQos, org::xmlBlaster::test::TestRam, org::xmlBlaster::test::TestSub, and org::xmlBlaster::test::TestSubXPath.

Definition at line 169 of file TestSuite.h.

Referenced by org::xmlBlaster::test::TestSubXPath::tearDown(), org::xmlBlaster::test::TestSub::tearDown(), org::xmlBlaster::test::TestProperty::tearDown(), org::xmlBlaster::test::TestLeaveServer::tearDown(), org::xmlBlaster::test::TestKeys::tearDown(), org::xmlBlaster::test::TestGet::tearDown(), org::xmlBlaster::test::TestFailsafe::tearDown(), org::xmlBlaster::test::TestConnect::tearDown(), and org::xmlBlaster::test::TestCommand::tearDown().

void org::xmlBlaster::test::TestSuite::startEmbeddedServer (  ) 

Definition at line 173 of file TestSuite.h.

References embeddedServer_, log_, ME, org::xmlBlaster::util::EmbeddedServer::start(), org::xmlBlaster::util::I_Log::trace(), and org::xmlBlaster::util::I_Log::warn().

Referenced by org::xmlBlaster::test::TestFailsafe::testFailsafe(), and org::xmlBlaster::test::TestFailsafe::testReconnect().

void org::xmlBlaster::test::TestSuite::stopEmbeddedServer (  ) 

Definition at line 184 of file TestSuite.h.

References embeddedServer_, log_, ME, org::xmlBlaster::util::EmbeddedServer::stop(), and org::xmlBlaster::util::I_Log::warn().

Referenced by org::xmlBlaster::test::TestFailsafe::testFailsafe(), and org::xmlBlaster::test::TestFailsafe::testReconnect().

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

Reimplemented in org::xmlBlaster::test::TestGet, org::xmlBlaster::test::TestKeys, org::xmlBlaster::test::TestProperty, and org::xmlBlaster::test::TestRam.

Definition at line 194 of file TestSuite.h.

References applName_, log_, and org::xmlBlaster::util::I_Log::plain().

Referenced by setUp(), org::xmlBlaster::test::TestConnect::setUp(), org::xmlBlaster::test::TestCommand::setUp(), org::xmlBlaster::test::TestConnect::testPubSub(), org::xmlBlaster::test::TestRam::usage(), org::xmlBlaster::test::TestProperty::usage(), org::xmlBlaster::test::TestKeys::usage(), and org::xmlBlaster::test::TestGet::usage().


Member Data Documentation

std::string org::xmlBlaster::test::TestSuite::ME [protected]

Definition at line 92 of file TestSuite.h.

Referenced by org::xmlBlaster::test::TestFailsafe::reachedAlive(), org::xmlBlaster::test::TestFailsafe::reachedDead(), org::xmlBlaster::test::TestFailsafe::reachedPolling(), org::xmlBlaster::test::TestSubXPath::setUp(), org::xmlBlaster::test::TestSub::setUp(), org::xmlBlaster::test::TestRam::setUp(), org::xmlBlaster::test::TestLeaveServer::setUp(), org::xmlBlaster::test::TestGet::setUp(), org::xmlBlaster::test::TestFailsafe::setUp(), org::xmlBlaster::test::TestConnect::setUp(), org::xmlBlaster::test::TestCommand::setUp(), startEmbeddedServer(), stopEmbeddedServer(), org::xmlBlaster::test::TestSub::tearDown(), org::xmlBlaster::test::TestRam::tearDown(), org::xmlBlaster::test::TestProperty::tearDown(), org::xmlBlaster::test::TestKeys::tearDown(), org::xmlBlaster::test::TestGet::tearDown(), org::xmlBlaster::test::TestFailsafe::tearDown(), org::xmlBlaster::test::TestCommand::tearDown(), org::xmlBlaster::test::TestProperty::testDefault(), org::xmlBlaster::test::TestFailsafe::testFailsafe(), org::xmlBlaster::test::TestGet::testGet(), org::xmlBlaster::test::TestSubXPath::testInitial(), org::xmlBlaster::test::TestLeaveServer::testLeaveServer(), org::xmlBlaster::test::TestProperty::testLoadPropertyFile(), org::xmlBlaster::test::TestGet::testMany(), org::xmlBlaster::test::TestRam::testPublish(), org::xmlBlaster::test::TestSub::testPublishAfterSubscribeXPath(), org::xmlBlaster::test::TestSub::testPublishCorbaMethods(), org::xmlBlaster::test::TestKeys::testPublishKey(), org::xmlBlaster::test::TestSub::testPublishSTLMethods(), org::xmlBlaster::test::TestConnect::testPubSub(), org::xmlBlaster::test::TestFailsafe::testReconnect(), org::xmlBlaster::test::TestProperty::testReplace(), org::xmlBlaster::test::TestCommand::testSendAdministrativeCommand(), org::xmlBlaster::test::TestCommand::testSetCallbackDispatcherActive(), org::xmlBlaster::test::TestSub::testSubscribeSpecificCallback(), org::xmlBlaster::test::TestSub::testSubscribeXPath(), TestSuite(), org::xmlBlaster::test::TestSubXPath::update(), org::xmlBlaster::test::TestSub::update(), org::xmlBlaster::test::TestLeaveServer::update(), org::xmlBlaster::test::TestFailsafe::update(), org::xmlBlaster::test::TestConnect::update(), org::xmlBlaster::test::TestCommand::update(), org::xmlBlaster::test::TestRam::usage(), org::xmlBlaster::test::TestProperty::usage(), org::xmlBlaster::test::TestKeys::usage(), org::xmlBlaster::test::TestGet::usage(), org::xmlBlaster::test::TestFailsafe::~TestFailsafe(), and ~TestSuite().

std::string org::xmlBlaster::test::TestSuite::applName_ [protected]

Definition at line 93 of file TestSuite.h.

Referenced by usage().

org::xmlBlaster::util::Global& org::xmlBlaster::test::TestSuite::global_ [protected]

Definition at line 94 of file TestSuite.h.

Referenced by org::xmlBlaster::test::TestFailsafe::getAddress(), org::xmlBlaster::test::TestSubXPath::setUp(), org::xmlBlaster::test::TestSub::setUp(), org::xmlBlaster::test::TestRam::setUp(), org::xmlBlaster::test::TestLeaveServer::setUp(), org::xmlBlaster::test::TestGet::setUp(), org::xmlBlaster::test::TestFailsafe::setUp(), org::xmlBlaster::test::TestConnect::setUp(), org::xmlBlaster::test::TestCommand::setUp(), org::xmlBlaster::test::TestSub::tearDown(), org::xmlBlaster::test::TestRam::tearDown(), org::xmlBlaster::test::TestGet::tearDown(), org::xmlBlaster::test::TestFailsafe::tearDown(), org::xmlBlaster::test::TestConnect::tearDown(), org::xmlBlaster::test::TestCommand::tearDown(), org::xmlBlaster::test::TestFailsafe::testFailsafe(), org::xmlBlaster::test::TestFailsafe::TestFailsafe(), org::xmlBlaster::test::TestGet::testGet(), org::xmlBlaster::test::TestSubXPath::testInitial(), org::xmlBlaster::test::TestLeaveServer::testLeaveServer(), org::xmlBlaster::test::TestGet::testMany(), org::xmlBlaster::test::TestRam::testPublish(), org::xmlBlaster::test::TestSub::testPublishCorbaMethods(), org::xmlBlaster::test::TestKeys::testPublishKey(), org::xmlBlaster::test::TestSub::testPublishSTLMethods(), org::xmlBlaster::test::TestConnect::testPubSub(), org::xmlBlaster::test::TestFailsafe::testReconnect(), org::xmlBlaster::test::TestCommand::testSendAdministrativeCommand(), org::xmlBlaster::test::TestSub::testSubscribeSpecificCallback(), org::xmlBlaster::test::TestSub::testSubscribeXPath(), and TestSuite().

org::xmlBlaster::util::I_Log& org::xmlBlaster::test::TestSuite::log_ [protected]

Definition at line 95 of file TestSuite.h.

Referenced by org::xmlBlaster::test::TestFailsafe::reachedAlive(), org::xmlBlaster::test::TestFailsafe::reachedDead(), org::xmlBlaster::test::TestFailsafe::reachedPolling(), org::xmlBlaster::test::TestSubXPath::setUp(), org::xmlBlaster::test::TestSub::setUp(), org::xmlBlaster::test::TestRam::setUp(), org::xmlBlaster::test::TestLeaveServer::setUp(), org::xmlBlaster::test::TestGet::setUp(), org::xmlBlaster::test::TestFailsafe::setUp(), org::xmlBlaster::test::TestConnect::setUp(), org::xmlBlaster::test::TestCommand::setUp(), startEmbeddedServer(), stopEmbeddedServer(), org::xmlBlaster::test::TestSub::tearDown(), org::xmlBlaster::test::TestRam::tearDown(), org::xmlBlaster::test::TestProperty::tearDown(), org::xmlBlaster::test::TestKeys::tearDown(), org::xmlBlaster::test::TestGet::tearDown(), org::xmlBlaster::test::TestFailsafe::tearDown(), org::xmlBlaster::test::TestCommand::tearDown(), org::xmlBlaster::test::TestCommand::TestCommand(), org::xmlBlaster::test::TestProperty::testDefault(), org::xmlBlaster::test::TestFailsafe::testFailsafe(), org::xmlBlaster::test::TestGet::testGet(), org::xmlBlaster::test::TestSubXPath::testInitial(), org::xmlBlaster::test::TestLeaveServer::testLeaveServer(), org::xmlBlaster::test::TestProperty::testLoadPropertyFile(), org::xmlBlaster::test::TestGet::testMany(), org::xmlBlaster::test::TestRam::testPublish(), org::xmlBlaster::test::TestSub::testPublishAfterSubscribeXPath(), org::xmlBlaster::test::TestSub::testPublishCorbaMethods(), org::xmlBlaster::test::TestKeys::testPublishKey(), org::xmlBlaster::test::TestSub::testPublishSTLMethods(), org::xmlBlaster::test::TestConnect::testPubSub(), org::xmlBlaster::test::TestFailsafe::testReconnect(), org::xmlBlaster::test::TestProperty::testReplace(), org::xmlBlaster::test::TestCommand::testSendAdministrativeCommand(), org::xmlBlaster::test::TestCommand::testSetCallbackDispatcherActive(), org::xmlBlaster::test::TestSub::TestSub(), org::xmlBlaster::test::TestSub::testSubscribeSpecificCallback(), org::xmlBlaster::test::TestSub::testSubscribeXPath(), TestSuite(), org::xmlBlaster::test::TestSubXPath::update(), org::xmlBlaster::test::TestSub::update(), org::xmlBlaster::test::TestLeaveServer::update(), org::xmlBlaster::test::TestFailsafe::update(), org::xmlBlaster::test::TestConnect::update(), org::xmlBlaster::test::TestCommand::update(), usage(), org::xmlBlaster::test::TestRam::usage(), org::xmlBlaster::test::TestProperty::usage(), org::xmlBlaster::test::TestKeys::usage(), org::xmlBlaster::test::TestGet::usage(), org::xmlBlaster::test::TestFailsafe::~TestFailsafe(), and ~TestSuite().

bool org::xmlBlaster::test::TestSuite::useEmbeddedServer_ [protected]

Definition at line 96 of file TestSuite.h.

Referenced by org::xmlBlaster::test::TestFailsafe::testReconnect(), and TestSuite().

org::xmlBlaster::client::XmlBlasterAccess org::xmlBlaster::test::TestSuite::connection_ [protected]

Definition at line 97 of file TestSuite.h.

Referenced by org::xmlBlaster::test::TestSubXPath::setUp(), org::xmlBlaster::test::TestSub::setUp(), org::xmlBlaster::test::TestRam::setUp(), org::xmlBlaster::test::TestLeaveServer::setUp(), org::xmlBlaster::test::TestGet::setUp(), org::xmlBlaster::test::TestFailsafe::setUp(), org::xmlBlaster::test::TestConnect::setUp(), org::xmlBlaster::test::TestCommand::setUp(), org::xmlBlaster::test::TestSub::tearDown(), org::xmlBlaster::test::TestRam::tearDown(), org::xmlBlaster::test::TestGet::tearDown(), org::xmlBlaster::test::TestFailsafe::tearDown(), org::xmlBlaster::test::TestConnect::tearDown(), org::xmlBlaster::test::TestCommand::tearDown(), org::xmlBlaster::test::TestFailsafe::testFailsafe(), org::xmlBlaster::test::TestGet::testGet(), org::xmlBlaster::test::TestSubXPath::testInitial(), org::xmlBlaster::test::TestLeaveServer::testLeaveServer(), org::xmlBlaster::test::TestGet::testMany(), org::xmlBlaster::test::TestRam::testPublish(), org::xmlBlaster::test::TestSub::testPublishCorbaMethods(), org::xmlBlaster::test::TestSub::testPublishSTLMethods(), org::xmlBlaster::test::TestConnect::testPubSub(), org::xmlBlaster::test::TestFailsafe::testReconnect(), org::xmlBlaster::test::TestCommand::testSendAdministrativeCommand(), org::xmlBlaster::test::TestCommand::testSetCallbackDispatcherActive(), org::xmlBlaster::test::TestSub::testSubscribeSpecificCallback(), org::xmlBlaster::test::TestSub::testSubscribeXPath(), and TestSuite().

org::xmlBlaster::util::EmbeddedServer* org::xmlBlaster::test::TestSuite::embeddedServer_ [protected]

Definition at line 98 of file TestSuite.h.

Referenced by startEmbeddedServer(), stopEmbeddedServer(), TestSuite(), and ~TestSuite().

bool org::xmlBlaster::test::TestSuite::needsHelp_ [protected]

Definition at line 99 of file TestSuite.h.

Referenced by setUp(), and TestSuite().

bool org::xmlBlaster::test::TestSuite::doEmbeddedServerCheck_ [protected]

Definition at line 100 of file TestSuite.h.

Referenced by TestSuite(), and ~TestSuite().


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