You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jo...@apache.org on 2010/01/18 19:07:05 UTC

svn commit: r900488 - /qpid/trunk/qpid/cpp/src/tests/XmlClientSessionTest.cpp

Author: jonathan
Date: Mon Jan 18 18:07:04 2010
New Revision: 900488

URL: http://svn.apache.org/viewvc?rev=900488&view=rev
Log:
Commiting John Dunning's revisions to the XML client session test.

Modified:
    qpid/trunk/qpid/cpp/src/tests/XmlClientSessionTest.cpp

Modified: qpid/trunk/qpid/cpp/src/tests/XmlClientSessionTest.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/XmlClientSessionTest.cpp?rev=900488&r1=900487&r2=900488&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/XmlClientSessionTest.cpp (original)
+++ qpid/trunk/qpid/cpp/src/tests/XmlClientSessionTest.cpp Mon Jan 18 18:07:04 2010
@@ -64,6 +64,7 @@
   public:
     SubscribedLocalQueue(SubscriptionManager& subs) : subscriptions(subs) {}
     Message get () { return pop(); }
+    Message get (sys::Duration timeout) { return pop(timeout); }
     virtual ~SubscribedLocalQueue() {}
 };
 
@@ -129,7 +130,7 @@
 
     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());
 }
 



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org