From 0637677cf6653256b67c82dcb74f35133601220c Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Sun, 20 Apr 2008 12:10:37 +0000 Subject: QPID-920: converted c++ client to use final 0-10 protocol * connection handler converted to using invoker & proxy and updated to final method defs * SessionCore & ExecutionHandler replace by SessionImpl * simplified handling of completion & results, removed handling of responses git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649915 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/MessageBuilderTest.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'cpp/src/tests/MessageBuilderTest.cpp') diff --git a/cpp/src/tests/MessageBuilderTest.cpp b/cpp/src/tests/MessageBuilderTest.cpp index 092e02cc2f..7149ec50c7 100644 --- a/cpp/src/tests/MessageBuilderTest.cpp +++ b/cpp/src/tests/MessageBuilderTest.cpp @@ -22,6 +22,7 @@ #include "qpid/broker/MessageBuilder.h" #include "qpid/broker/NullMessageStore.h" #include "qpid/framing/frame_functors.h" +#include "qpid/framing/MessageTransferBody.h" #include "qpid/framing/TypeFilter.h" #include "qpid_test_plugin.h" #include @@ -101,7 +102,7 @@ class MessageBuilderTest : public CppUnit::TestCase std::string key("builder-exchange"); AMQFrame method(in_place( - ProtocolVersion(), 0, exchange, 0, 0)); + ProtocolVersion(), exchange, 0, 0)); AMQFrame header(in_place()); header.castBody()->get(true)->setContentLength(0); @@ -124,7 +125,7 @@ class MessageBuilderTest : public CppUnit::TestCase std::string exchange("builder-exchange"); std::string key("builder-exchange"); - AMQFrame method(in_place(ProtocolVersion(), 0, exchange, 0, 0)); + AMQFrame method(in_place(ProtocolVersion(), exchange, 0, 0)); AMQFrame header(in_place()); AMQFrame content(in_place(data)); method.setEof(false); @@ -158,7 +159,7 @@ class MessageBuilderTest : public CppUnit::TestCase std::string key("builder-exchange"); AMQFrame method(in_place( - ProtocolVersion(), 0, exchange, 0, 0)); + ProtocolVersion(), exchange, 0, 0)); AMQFrame header(in_place()); AMQFrame content1(in_place(data1)); AMQFrame content2(in_place(data2)); @@ -194,7 +195,7 @@ class MessageBuilderTest : public CppUnit::TestCase std::string key("builder-exchange"); AMQFrame method(in_place( - ProtocolVersion(), 0, exchange, 0, 0)); + ProtocolVersion(), exchange, 0, 0)); AMQFrame header(in_place()); AMQFrame content1(in_place(data1)); AMQFrame content2(in_place(data2)); -- cgit v1.2.1