summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/ClientSessionTest.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-07-10 08:39:10 +0000
committerGordon Sim <gsim@apache.org>2008-07-10 08:39:10 +0000
commit08cc9448c490c637ef4a2d696c2592844f832ab6 (patch)
tree93ae8dafe9fe1ce5207c0a678b1078d2de2c6dfb /qpid/cpp/src/tests/ClientSessionTest.cpp
parent0dd8e35383d50ea57edb1112217473cf6b0e9f7b (diff)
downloadqpid-python-08cc9448c490c637ef4a2d696c2592844f832ab6.tar.gz
Honour timeout in BlockingQueue::pop(); added test for SubscriptionManager::get() where no message exists.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@675477 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/ClientSessionTest.cpp')
-rw-r--r--qpid/cpp/src/tests/ClientSessionTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/ClientSessionTest.cpp b/qpid/cpp/src/tests/ClientSessionTest.cpp
index b55e4c231e..90616cf7f3 100644
--- a/qpid/cpp/src/tests/ClientSessionTest.cpp
+++ b/qpid/cpp/src/tests/ClientSessionTest.cpp
@@ -248,6 +248,7 @@ QPID_AUTO_TEST_CASE(testGet) {
BOOST_CHECK_EQUAL("foo0", got.getData());
BOOST_CHECK(fix.subs.get(got, "getq", TIME_SEC));
BOOST_CHECK_EQUAL("foo1", got.getData());
+ BOOST_CHECK(!fix.subs.get(got, "getq"));
}
QPID_AUTO_TEST_CASE(testOpenFailure) {