diff options
author | Jonathan Robie <jonathan@apache.org> | 2010-01-18 18:07:04 +0000 |
---|---|---|
committer | Jonathan Robie <jonathan@apache.org> | 2010-01-18 18:07:04 +0000 |
commit | a48812f5cd045775a70d9e3ccf2b0bd04b43f103 (patch) | |
tree | b06c086e921a6e62c4ce04144b0c24c25aedcc28 /qpid/cpp/src/tests/XmlClientSessionTest.cpp | |
parent | fc991a682e835ebb5ccc74d76825362ceafa833a (diff) | |
download | qpid-python-a48812f5cd045775a70d9e3ccf2b0bd04b43f103.tar.gz |
Commiting John Dunning's revisions to the XML client session test.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@900488 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/XmlClientSessionTest.cpp')
-rw-r--r-- | qpid/cpp/src/tests/XmlClientSessionTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/XmlClientSessionTest.cpp b/qpid/cpp/src/tests/XmlClientSessionTest.cpp index b59abbf2cc..d64c5e47f0 100644 --- a/qpid/cpp/src/tests/XmlClientSessionTest.cpp +++ b/qpid/cpp/src/tests/XmlClientSessionTest.cpp @@ -64,6 +64,7 @@ class SubscribedLocalQueue : public LocalQueue { public: SubscribedLocalQueue(SubscriptionManager& subs) : subscriptions(subs) {} Message get () { return pop(); } + Message get (sys::Duration timeout) { return pop(timeout); } virtual ~SubscribedLocalQueue() {} }; @@ -129,7 +130,7 @@ QPID_AUTO_TEST_CASE(testXmlBinding) { f.session.messageTransfer(qpid::client::arg::content=message, qpid::client::arg::destination="xml"); - Message m2 = localQueue.get(); + Message m2 = localQueue.get(1); BOOST_CHECK_EQUAL(m, m2.getData()); } |