summaryrefslogtreecommitdiff
path: root/qpid/cpp/tests/FramingTest.cpp
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2007-01-09 19:44:50 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2007-01-09 19:44:50 +0000
commit13659cefe235ac0228749ba53e534910b9aae193 (patch)
tree048e91f6708aa307a239ad1df65f551161a971ba /qpid/cpp/tests/FramingTest.cpp
parent639e998c5fe03fc0a73667887af6a1828d400c0e (diff)
downloadqpid-python-13659cefe235ac0228749ba53e534910b9aae193.tar.gz
Most of remaining version changes for C++. Still need to deal with AMQFrame
defualt constructor and do some clean up here and there.. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@494540 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/tests/FramingTest.cpp')
-rw-r--r--qpid/cpp/tests/FramingTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/tests/FramingTest.cpp b/qpid/cpp/tests/FramingTest.cpp
index bc65891956..e4d289d3d5 100644
--- a/qpid/cpp/tests/FramingTest.cpp
+++ b/qpid/cpp/tests/FramingTest.cpp
@@ -120,7 +120,7 @@ class FramingTest : public CppUnit::TestCase
{
std::string a = "hostA";
std::string b = "hostB";
- AMQFrame in(999, new ConnectionRedirectBody(v, a, b));
+ AMQFrame in(highestProtocolVersion, 999, new ConnectionRedirectBody(v, a, b));
in.encode(buffer);
buffer.flip();
AMQFrame out;
@@ -131,7 +131,7 @@ class FramingTest : public CppUnit::TestCase
void testBasicConsumeOkBodyFrame()
{
std::string s = "hostA";
- AMQFrame in(999, new BasicConsumeOkBody(v, s));
+ AMQFrame in(highestProtocolVersion, 999, new BasicConsumeOkBody(v, s));
in.encode(buffer);
buffer.flip();
AMQFrame out;