summaryrefslogtreecommitdiff
path: root/qpid/cpp/tests/ProducerConsumerTest.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-21 19:12:14 +0000
committerAlan Conway <aconway@apache.org>2007-03-21 19:12:14 +0000
commitd66d50b103ab12df58132ce17ed5892df29b4b5c (patch)
tree0cdeb9f8365be75539e000f7e1d4a76387655b94 /qpid/cpp/tests/ProducerConsumerTest.cpp
parent6625d0c47f5252af8d64abce773583ec27f28116 (diff)
downloadqpid-python-d66d50b103ab12df58132ce17ed5892df29b4b5c.tar.gz
Refactored client side for dual-mode Channel supporting either 0-9 Message or 0-8 Basic.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@520972 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/tests/ProducerConsumerTest.cpp')
-rw-r--r--qpid/cpp/tests/ProducerConsumerTest.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/qpid/cpp/tests/ProducerConsumerTest.cpp b/qpid/cpp/tests/ProducerConsumerTest.cpp
index e6d4090596..1f2aeffbc5 100644
--- a/qpid/cpp/tests/ProducerConsumerTest.cpp
+++ b/qpid/cpp/tests/ProducerConsumerTest.cpp
@@ -30,8 +30,9 @@
#include "AMQP_HighestVersion.h"
#include "sys/AtomicCount.h"
-using namespace qpid::sys;
-using namespace qpid::framing;
+using namespace qpid;
+using namespace sys;
+using namespace framing;
using namespace boost;
using namespace std;
@@ -99,7 +100,7 @@ class ProducerConsumerTest : public CppUnit::TestCase
CPPUNIT_TEST_SUITE_END();
public:
- InProcessBrokerClient client;
+ client::InProcessBrokerClient client;
ProducerConsumer pc;
WatchedCounter stopped;
@@ -166,7 +167,7 @@ class ProducerConsumerTest : public CppUnit::TestCase
}
public:
- ProducerConsumerTest() : client(highestProtocolVersion) {}
+ ProducerConsumerTest() : client() {}
void testProduceConsume() {
ConsumeRunnable runMe(*this);