diff options
author | Alan Conway <aconway@apache.org> | 2008-10-31 15:08:00 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-10-31 15:08:00 +0000 |
commit | 79323867dae1ad7b0d00e4055e506749236d9bf1 (patch) | |
tree | 7a072a6ad8f9b81cf5984a61d2e9cdfbb26d1d89 /cpp/src/tests/cluster_test.cpp | |
parent | 2ff919b2bf8623b6bf542e589aae4c05c403a009 (diff) | |
download | qpid-python-79323867dae1ad7b0d00e4055e506749236d9bf1.tar.gz |
Added return Message overload of SubscriptionManager get().
Fixed compile error in broker/Vhost.cpp
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@709440 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/cluster_test.cpp')
-rw-r--r-- | cpp/src/tests/cluster_test.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cpp/src/tests/cluster_test.cpp b/cpp/src/tests/cluster_test.cpp index 887a0716e7..63bd31ea1b 100644 --- a/cpp/src/tests/cluster_test.cpp +++ b/cpp/src/tests/cluster_test.cpp @@ -264,12 +264,9 @@ QPID_AUTO_TEST_CASE(testUnacked) { BOOST_CHECK_EQUAL(c1.session.queueQuery("q1").getMessageCount(), 1u); BOOST_CHECK_EQUAL(c1.session.queueQuery("q2").getMessageCount(), 2u); - BOOST_CHECK(c1.subs.get(m, "q1", TIME_SEC)); - BOOST_CHECK_EQUAL(m.getData(), "11"); - BOOST_CHECK(c1.subs.get(m, "q2", TIME_SEC)); - BOOST_CHECK_EQUAL(m.getData(), "21"); - BOOST_CHECK(c1.subs.get(m, "q2", TIME_SEC)); - BOOST_CHECK_EQUAL(m.getData(), "22"); + BOOST_CHECK_EQUAL(c1.subs.get("q1", TIME_SEC).getData(), "11"); + BOOST_CHECK_EQUAL(c1.subs.get("q2", TIME_SEC).getData(), "21"); + BOOST_CHECK_EQUAL(c1.subs.get("q2", TIME_SEC).getData(), "22"); } QPID_AUTO_TEST_CASE_EXPECTED_FAILURES(testDumpTxState, 1) { |