org::xmlBlaster::test Namespace Reference


Classes

class  TestClientProperty
class  SpecificCallback
 This client tests the method sendAdministrativeCommand(). More...
class  TestCommand
class  TestConnect
class  TestConnectQos
class  TestDoubleGlobal
class  TestEmbeddedServer
class  TestFailsafe
class  TestGet
class  TestKeys
class  TestLeaveServer
 This client tests the method leaveServer(). More...
class  TestProperty
 Tests the property class. More...
class  TestQos
class  TestQueue
 Tests the queue entry and queue functionality. More...
class  TestRam
 Constructs the TestRam object. More...
class  TestStringTrim
class  TestSub
class  TestSubXPath
class  TestSuite
class  TestThread
class  TestTimeout
class  TestTimestamp

Functions

template<class T1, class T2>
void assertEquals (org::xmlBlaster::util::I_Log &log, std::string &who, T1 &should, T2 &is, std::string &txt)
 Supports comparing for example char[] with string.
template<class T1, class T2>
void assertDifferes (org::xmlBlaster::util::I_Log &log, std::string &who, T1 &should, T2 &is, std::string &txt)


Function Documentation

template<class T1, class T2>
void org::xmlBlaster::test::assertDifferes ( org::xmlBlaster::util::I_Log log,
std::string &  who,
T1 &  should,
T2 &  is,
std::string &  txt 
)

Definition at line 50 of file TestSuite.h.

References org::xmlBlaster::util::I_Log::error(), and org::xmlBlaster::util::I_Log::info().

template<class T1, class T2>
void org::xmlBlaster::test::assertEquals ( org::xmlBlaster::util::I_Log log,
std::string &  who,
T1 &  should,
T2 &  is,
std::string &  txt 
)

Supports comparing for example char[] with string.

Parameters:
should const char [13]
is std::string

Definition at line 37 of file TestSuite.h.

References org::xmlBlaster::util::I_Log::error(), and org::xmlBlaster::util::I_Log::info().

Referenced by org::xmlBlaster::test::TestDoubleGlobal::sessionQos(), org::xmlBlaster::test::TestSub::setUp(), org::xmlBlaster::test::TestLeaveServer::setUp(), org::xmlBlaster::test::TestCommand::setUp(), org::xmlBlaster::test::TestClientProperty::testClientProperty(), org::xmlBlaster::test::TestQueue::testConnectCompare(), org::xmlBlaster::test::TestConnectQos::testConnectQos(), org::xmlBlaster::test::TestProperty::testDefault(), org::xmlBlaster::test::TestSubXPath::testInitial(), org::xmlBlaster::test::TestQueue::testMaxNumOfBytes(), org::xmlBlaster::test::TestQueue::testMaxNumOfEntries(), org::xmlBlaster::test::TestQueue::testMixedCompare(), org::xmlBlaster::test::TestQueue::testOrder(), org::xmlBlaster::test::TestQueue::testPublishCompare(), org::xmlBlaster::test::TestKeys::testPublishKey(), org::xmlBlaster::test::TestConnect::testPubSub(), org::xmlBlaster::test::TestClientProperty::testQosData(), org::xmlBlaster::test::TestConnectQos::testQueueProperty(), org::xmlBlaster::test::TestFailsafe::testReconnect(), org::xmlBlaster::test::TestProperty::testReplace(), org::xmlBlaster::test::TestQos::testSessionQos(), org::xmlBlaster::test::TestConnectQos::testSessionQos(), org::xmlBlaster::test::TestQos::testStatusQos(), org::xmlBlaster::test::TestSub::testSubscribeSpecificCallback(), org::xmlBlaster::test::TestStringTrim::testTrim(), org::xmlBlaster::test::TestQueue::testWithOneConnectEntry(), org::xmlBlaster::test::TestQueue::testWithOnePublishEntry(), and org::xmlBlaster::test::TestFailsafe::update().