summaryrefslogtreecommitdiff
path: root/qpid/cpp/tests/ChannelTest.cpp
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2006-12-20 22:29:38 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2006-12-20 22:29:38 +0000
commit47081948f3e2d930c2564e5a2fad5ad3012659ac (patch)
treed71ec6e1b86b377c01260e4ebc9c8fd2bafd4d1d /qpid/cpp/tests/ChannelTest.cpp
parent7b53aee0497f9a0479856c1a1f0e186961f6b6c7 (diff)
downloadqpid-python-47081948f3e2d930c2564e5a2fad5ad3012659ac.tar.gz
Support for multi version, merge part 1. - can still refactor out dup use of
version object in client and server opperations. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@489212 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/tests/ChannelTest.cpp')
-rw-r--r--qpid/cpp/tests/ChannelTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/tests/ChannelTest.cpp b/qpid/cpp/tests/ChannelTest.cpp
index 0cabae14de..120f7c287f 100644
--- a/qpid/cpp/tests/ChannelTest.cpp
+++ b/qpid/cpp/tests/ChannelTest.cpp
@@ -132,7 +132,7 @@ class ChannelTest : public CppUnit::TestCase
void testConsumerMgmt(){
Queue::shared_ptr queue(new Queue("my_queue"));
- Channel channel(0, 0, 0);
+ Channel channel(qpid::framing::highestVersion, 0, 0, 0);
CPPUNIT_ASSERT(!channel.exists("my_consumer"));
ConnectionToken* owner = 0;
@@ -157,7 +157,7 @@ class ChannelTest : public CppUnit::TestCase
void testDeliveryNoAck(){
DummyHandler handler;
- Channel channel(&handler, 7, 10000);
+ Channel channel(qpid::framing::highestVersion, &handler, 7, 10000);
const string data("abcdefghijklmn");
@@ -184,7 +184,7 @@ class ChannelTest : public CppUnit::TestCase
void testDeliveryAndRecovery(){
DummyHandler handler;
- Channel channel(&handler, 7, 10000);
+ Channel channel(qpid::framing::highestVersion, &handler, 7, 10000);
const string data("abcdefghijklmn");
Message::shared_ptr msg(createMessage("test", "my_routing_key", "my_message_id", 14));
@@ -212,7 +212,7 @@ class ChannelTest : public CppUnit::TestCase
void testStaging(){
MockMessageStore store;
DummyHandler handler;
- Channel channel(&handler, 1, 1000/*framesize*/, &store, 10/*staging threshold*/);
+ Channel channel(qpid::framing::highestVersion, &handler, 1, 1000/*framesize*/, &store, 10/*staging threshold*/);
const string data[] = {"abcde", "fghij", "klmno"};
Message* msg = new Message(0, "my_exchange", "my_routing_key", false, false);