Inheritance diagram for org::xmlBlaster::test::TestLeaveServer:
Public Member Functions | |
TestLeaveServer (int args, char *argc[], string &loginName) | |
Constructs the TestLeaveServer object. | |
virtual | ~TestLeaveServer () |
void | setUp () |
Sets up the fixture. | |
void | tearDown () |
Tears down the fixture. | |
void | testLeaveServer () |
TEST:. | |
string | update (string &sessionId, UpdateKey &updateKey, unsigned char *, long, UpdateQos &updateQos) |
Definition at line 24 of file TestLeaveServer.cpp.
org::xmlBlaster::test::TestLeaveServer::TestLeaveServer | ( | int | args, | |
char * | argc[], | |||
string & | loginName | |||
) |
Constructs the TestLeaveServer object.
testName | The name used in the test suite | |
loginName | The name to login to the xmlBlaster |
Definition at line 42 of file TestLeaveServer.cpp.
virtual org::xmlBlaster::test::TestLeaveServer::~TestLeaveServer | ( | ) | [virtual] |
Definition at line 48 of file TestLeaveServer.cpp.
void org::xmlBlaster::test::TestLeaveServer::setUp | ( | ) | [virtual] |
Sets up the fixture.
Connect to xmlBlaster and login
Reimplemented from org::xmlBlaster::test::TestSuite.
Definition at line 56 of file TestLeaveServer.cpp.
References org::xmlBlaster::test::assertEquals(), org::xmlBlaster::client::XmlBlasterAccess::connect(), org::xmlBlaster::test::TestSuite::connection_, org::xmlBlaster::util::I_Log::error(), org::xmlBlaster::util::qos::SessionQosData::getAbsoluteName(), org::xmlBlaster::util::Global::getBuildTimestamp(), org::xmlBlaster::util::qos::ConnectQosData::getSessionQos(), org::xmlBlaster::util::qos::ConnectQosData::getSessionQosRef(), org::xmlBlaster::util::Global::getVersion(), org::xmlBlaster::test::TestSuite::global_, org::xmlBlaster::util::I_Log::info(), org::xmlBlaster::test::TestSuite::log_, org::xmlBlaster::test::TestSuite::ME, org::xmlBlaster::test::TestSuite::setUp(), and org::xmlBlaster::util::XmlBlasterException::toXml().
Referenced by main().
void org::xmlBlaster::test::TestLeaveServer::tearDown | ( | ) | [virtual] |
Tears down the fixture.
cleaning up .... erase() the previous message OID and logout
Reimplemented from org::xmlBlaster::test::TestSuite.
Definition at line 84 of file TestLeaveServer.cpp.
References org::xmlBlaster::test::TestSuite::tearDown().
Referenced by main().
void org::xmlBlaster::test::TestLeaveServer::testLeaveServer | ( | ) |
TEST:.
Definition at line 93 of file TestLeaveServer.cpp.
References org::xmlBlaster::test::TestSuite::connection_, org::xmlBlaster::util::I_Log::error(), org::xmlBlaster::client::XmlBlasterAccess::get(), org::xmlBlaster::test::TestSuite::global_, org::xmlBlaster::util::I_Log::info(), org::xmlBlaster::client::XmlBlasterAccess::leaveServer(), org::xmlBlaster::test::TestSuite::log_, org::xmlBlaster::test::TestSuite::ME, org::xmlBlaster::client::key::UnSubscribeKey::setOid(), org::xmlBlaster::util::XmlBlasterException::toString(), org::xmlBlaster::util::XmlBlasterException::toXml(), and org::xmlBlaster::util::I_Log::warn().
Referenced by main().