org::xmlBlaster::test::TestLeaveServer Class Reference

This client tests the method leaveServer(). More...

Inheritance diagram for org::xmlBlaster::test::TestLeaveServer:

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

Collaboration graph
[legend]
List of all members.

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)

Detailed Description

This client tests the method leaveServer().

Definition at line 24 of file TestLeaveServer.cpp.


Constructor & Destructor Documentation

org::xmlBlaster::test::TestLeaveServer::TestLeaveServer ( int  args,
char *  argc[],
string &  loginName 
)

Constructs the TestLeaveServer object.

Parameters:
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.


Member Function Documentation

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().

string org::xmlBlaster::test::TestLeaveServer::update ( string &  sessionId,
UpdateKey updateKey,
unsigned char *  ,
long  ,
UpdateQos updateQos 
)

Definition at line 148 of file TestLeaveServer.cpp.

References org::xmlBlaster::util::I_Log::error(), org::xmlBlaster::client::key::MsgKeyBase::getOid(), org::xmlBlaster::client::qos::GetReturnQos::getState(), org::xmlBlaster::test::TestSuite::log_, and org::xmlBlaster::test::TestSuite::ME.


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