Public Member Functions | |
TestSubXPath (int args, char *argc[]) | |
void | tearDown () |
virtual | ~TestSubXPath () |
void | setUp () |
void | testInitial () |
TEST: Construct 5 messages and publish them, the previous XPath subscription should match message #3 and send an update. | |
string | update (string &, UpdateKey &, unsigned char *, long, UpdateQos &) |
Definition at line 21 of file TestSubXPath.cpp.
org::xmlBlaster::test::TestSubXPath::TestSubXPath | ( | int | args, | |
char * | argc[] | |||
) |
Definition at line 46 of file TestSubXPath.cpp.
virtual org::xmlBlaster::test::TestSubXPath::~TestSubXPath | ( | ) | [virtual] |
Definition at line 57 of file TestSubXPath.cpp.
void org::xmlBlaster::test::TestSubXPath::tearDown | ( | ) | [virtual] |
Reimplemented from org::xmlBlaster::test::TestSuite.
Definition at line 52 of file TestSubXPath.cpp.
References org::xmlBlaster::test::TestSuite::tearDown().
Referenced by main().
void org::xmlBlaster::test::TestSubXPath::setUp | ( | ) | [virtual] |
Reimplemented from org::xmlBlaster::test::TestSuite.
Definition at line 61 of file TestSubXPath.cpp.
References org::xmlBlaster::client::XmlBlasterAccess::connect(), org::xmlBlaster::test::TestSuite::connection_, org::xmlBlaster::util::I_Log::error(), 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(), org::xmlBlaster::util::XmlBlasterException::toXml(), and org::xmlBlaster::util::qos::ConnectQosData::toXml().
Referenced by main().
void org::xmlBlaster::test::TestSubXPath::testInitial | ( | ) |
TEST: Construct 5 messages and publish them,
the previous XPath subscription should match message #3 and send an update.
Definition at line 86 of file TestSubXPath.cpp.
References org::xmlBlaster::test::assertEquals(), org::xmlBlaster::test::TestSuite::connection_, org::xmlBlaster::client::XmlBlasterAccess::erase(), org::xmlBlaster::util::I_Log::error(), org::xmlBlaster::client::qos::PublishReturnQos::getKeyOid(), org::xmlBlaster::util::XmlBlasterException::getMessage(), org::xmlBlaster::test::TestSuite::global_, org::xmlBlaster::test::TestSuite::log_, org::xmlBlaster::test::TestSuite::ME, org::xmlBlaster::client::XmlBlasterAccess::publish(), org::xmlBlaster::client::key::PublishKey::setClientTags(), org::xmlBlaster::client::key::UnSubscribeKey::setOid(), and org::xmlBlaster::util::thread::Thread::sleep().
Referenced by main().
string org::xmlBlaster::test::TestSubXPath::update | ( | string & | , | |
UpdateKey & | , | |||
unsigned char * | , | |||
long | , | |||
UpdateQos & | ||||
) |
Definition at line 124 of file TestSubXPath.cpp.
References org::xmlBlaster::util::I_Log::info(), org::xmlBlaster::test::TestSuite::log_, and org::xmlBlaster::test::TestSuite::ME.