summaryrefslogtreecommitdiff
path: root/cpp/tests/ChannelTest.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-02-09 16:46:16 +0000
committerGordon Sim <gsim@apache.org>2007-02-09 16:46:16 +0000
commite754770e56a9ff0df5d5be73b04ed658cdbc5855 (patch)
tree121acfabebc179ce6448b98e4c83b7dbfcb54940 /cpp/tests/ChannelTest.cpp
parent0b3933e6315389c5d32fb7abea5556c15440f888 (diff)
downloadqpid-python-e754770e56a9ff0df5d5be73b04ed658cdbc5855.tar.gz
Handle invalid channels.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@505360 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/tests/ChannelTest.cpp')
-rw-r--r--cpp/tests/ChannelTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/tests/ChannelTest.cpp b/cpp/tests/ChannelTest.cpp
index 60157834bd..c20a490dc8 100644
--- a/cpp/tests/ChannelTest.cpp
+++ b/cpp/tests/ChannelTest.cpp
@@ -178,6 +178,7 @@ class ChannelTest : public CppUnit::TestCase
void testDeliveryNoAck(){
Channel channel(connection, 7, 10000);
+ channel.open();
const string data("abcdefghijklmn");
Message::shared_ptr msg(
createMessage("test", "my_routing_key", "my_message_id", 14));
@@ -207,6 +208,7 @@ class ChannelTest : public CppUnit::TestCase
void testDeliveryAndRecovery(){
Channel channel(connection, 7, 10000);
+ channel.open();
const string data("abcdefghijklmn");
Message::shared_ptr msg(createMessage("test", "my_routing_key", "my_message_id", 14));