summaryrefslogtreecommitdiff
path: root/cpp/tests/ChannelTest.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-01-18 06:27:50 +0000
committerAlan Conway <aconway@apache.org>2007-01-18 06:27:50 +0000
commit9e8a7c77a94a92c6cf92cf60be508817f0778040 (patch)
tree0ff1882596aae1da3fd6bd6c2b4e13a3b9ae5de7 /cpp/tests/ChannelTest.cpp
parent762cba1e7db15cb3c9e987a9edcbf3106c7244cb (diff)
downloadqpid-python-9e8a7c77a94a92c6cf92cf60be508817f0778040.tar.gz
There are a ton of FIXMES and request/response IDs are not yet working fully
but all tests are passing. * broker::Broker: Removed requester/responder from broker. * framing::BodyHandler: added Requester/Responder to BodyHandler, becomes the base class for channel adapters in broker and client. * broker::BrokerAdapter: Inherit BodyHandler, wraps a broker::Channel. Hide private *HandlerImpl detail classes in BodyHandler.cpp. * broker::Connection: Requester/Responder/Adapter now per-channel. Connection channel map replaced with adapter map of BrokerAdapters. handle* functions moved to BrokerAdapter. All methods now handled by a BrokerAdapter for the relevant channel. ChannelHandlerImpl is repsonsible for checking that - No method on a non-0 channel is processed before open() - Channel 0 methods only happen on channel 0 and similar for non-zero methods Checks are not yet complete (see FIXMES) * client::ResponseHandler: fix for client hang if broker crashs. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497319 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/tests/ChannelTest.cpp')
-rw-r--r--cpp/tests/ChannelTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/tests/ChannelTest.cpp b/cpp/tests/ChannelTest.cpp
index f0860b8a28..e7a02d631d 100644
--- a/cpp/tests/ChannelTest.cpp
+++ b/cpp/tests/ChannelTest.cpp
@@ -135,6 +135,7 @@ class ChannelTest : public CppUnit::TestCase
void testConsumerMgmt(){
Queue::shared_ptr queue(new Queue("my_queue"));
Channel channel(qpid::framing::highestProtocolVersion, 0, 0, 0);
+ channel.open();
CPPUNIT_ASSERT(!channel.exists("my_consumer"));
ConnectionToken* owner = 0;