summaryrefslogtreecommitdiff
path: root/cpp/src/tests/QueueTest.cpp
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2008-12-30 02:32:22 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2008-12-30 02:32:22 +0000
commitb257c3e248e2a7a66109d66a6bb1e120fd8f05a0 (patch)
treef0dd7f3909f399f7a47440a7fb37ddd50bf0352f /cpp/src/tests/QueueTest.cpp
parentea15af2679ac23c5e804823c89007774f416981c (diff)
downloadqpid-python-b257c3e248e2a7a66109d66a6bb1e120fd8f05a0.tar.gz
- browse correction, to update replacement message on browse
- correct stats for lvq messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@730031 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/QueueTest.cpp')
-rw-r--r--cpp/src/tests/QueueTest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/tests/QueueTest.cpp b/cpp/src/tests/QueueTest.cpp
index 4d1de64180..f1771e26cd 100644
--- a/cpp/src/tests/QueueTest.cpp
+++ b/cpp/src/tests/QueueTest.cpp
@@ -417,6 +417,11 @@ QPID_AUTO_TEST_CASE(testLVQAcquire){
queue->deliver(msg6);
BOOST_CHECK_EQUAL(queue->getMessageCount(), 3u);
+
+ intrusive_ptr<Message> received;
+ received = queue->get().payload;
+ BOOST_CHECK_EQUAL(msg4.get(), received.get());
+
}
QPID_AUTO_TEST_CASE(testLVQMultiQueue){