From b87a1e9d27755e2f98792567c29a0625b92c8654 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 19 Jul 2007 08:27:36 +0000 Subject: removed the need to pass MethodContext/RequestId through proxy and handler/adapter interfaces git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@557522 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/BrokerChannelTest.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'cpp/src/tests/BrokerChannelTest.cpp') diff --git a/cpp/src/tests/BrokerChannelTest.cpp b/cpp/src/tests/BrokerChannelTest.cpp index acbe867cfa..05bdb7b3f0 100644 --- a/cpp/src/tests/BrokerChannelTest.cpp +++ b/cpp/src/tests/BrokerChannelTest.cpp @@ -225,9 +225,7 @@ class BrokerChannelTest : public CppUnit::TestCase Channel channel(connection, 1, &store); const string data[] = {"abcde", "fghij", "klmno"}; - Message* msg = new BasicMessage( - 0, "my_exchange", "my_routing_key", false, false, - MockChannel::basicGetBody()); + Message* msg = new BasicMessage(0, "my_exchange", "my_routing_key", false, false); store.expect(); store.stage(*msg); @@ -347,8 +345,7 @@ class BrokerChannelTest : public CppUnit::TestCase Message* createMessage(const string& exchange, const string& routingKey, const string& messageId, uint64_t contentSize) { BasicMessage* msg = new BasicMessage( - 0, exchange, routingKey, false, false, - MockChannel::basicGetBody()); + 0, exchange, routingKey, false, false); AMQHeaderBody::shared_ptr header(new AMQHeaderBody(BASIC)); header->setContentSize(contentSize); msg->setHeader(header); -- cgit v1.2.1