summaryrefslogtreecommitdiff
path: root/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
commitc1b0ba624ff2de40b23342cf2a96885342884dad (patch)
treef4fa4ef721b1fe98543cb49cc2c31f03cee452ed /cpp/tests/ProducerConsumerTest.cpp
parentdf4faa062b3512312c78167bfbdf19ff969210ac (diff)
downloadqpid-python-c1b0ba624ff2de40b23342cf2a96885342884dad.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/qpid@520972 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/tests/ProducerConsumerTest.cpp')
-rw-r--r--cpp/tests/ProducerConsumerTest.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/tests/ProducerConsumerTest.cpp b/cpp/tests/ProducerConsumerTest.cpp
index e6d4090596..1f2aeffbc5 100644
--- a/cpp/tests/ProducerConsumerTest.cpp
+++ b/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);