summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/BrokerChannelTest.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-07-19 08:27:36 +0000
committerGordon Sim <gsim@apache.org>2007-07-19 08:27:36 +0000
commit1f4463ff0c56261e2ee7f5a163ba2ba8ced80793 (patch)
treec57b784be11c1eb3e203f433b81660d4cc339eb5 /qpid/cpp/src/tests/BrokerChannelTest.cpp
parent3f8fc92fbc2303d3a97b04e65a18d25f1d6cc7e8 (diff)
downloadqpid-python-1f4463ff0c56261e2ee7f5a163ba2ba8ced80793.tar.gz
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@557522 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/BrokerChannelTest.cpp')
-rw-r--r--qpid/cpp/src/tests/BrokerChannelTest.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/qpid/cpp/src/tests/BrokerChannelTest.cpp b/qpid/cpp/src/tests/BrokerChannelTest.cpp
index acbe867cfa..05bdb7b3f0 100644
--- a/qpid/cpp/src/tests/BrokerChannelTest.cpp
+++ b/qpid/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);