From 644f220f96a82a5f5cfbbf6c8c57b27d6be10fa8 Mon Sep 17 00:00:00 2001 From: "Carl C. Trieloff" Date: Thu, 21 Dec 2006 17:43:56 +0000 Subject: Multi version part 3. (2 more to come + tests) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489418 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/tests/MessageTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/tests/MessageTest.cpp') diff --git a/cpp/tests/MessageTest.cpp b/cpp/tests/MessageTest.cpp index c6ceb6e833..bcf3ad8064 100644 --- a/cpp/tests/MessageTest.cpp +++ b/cpp/tests/MessageTest.cpp @@ -21,6 +21,7 @@ #include #include #include +#include using namespace boost; using namespace qpid::broker; @@ -76,7 +77,7 @@ class MessageTest : public CppUnit::TestCase CPPUNIT_ASSERT_EQUAL((u_int64_t) 14, msg->contentSize()); DummyHandler handler; - msg->deliver(&handler, 0, "ignore", 0, 100, &(qpid::framing::highestVersion)); + msg->deliver(&handler, 0, "ignore", 0, 100, &(qpid::framing::highestProtocolVersion)); CPPUNIT_ASSERT_EQUAL((size_t) 3, handler.frames.size()); AMQContentBody::shared_ptr contentBody(dynamic_pointer_cast(handler.frames[2]->getBody())); CPPUNIT_ASSERT(contentBody); -- cgit v1.2.1