From 877e7ae368d4320bd60ba5750be207a5cac13f43 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 6 Feb 2007 21:38:30 +0000 Subject: * cpp/lib/broker/BrokerQueue.cpp (): Centralized exceptions. * cpp/lib/broker/BrokerAdapter.cpp (consume): Moved exceptions to Queue * cpp/lib/broker/BrokerChannel.cpp (consume): Moved exceptions to Queue * cpp/lib/broker/BrokerMessageBase.cpp: - Added getApplicationHeaders. * cpp/lib/broker/BrokerMessageMessage.cpp: - Fixed exchangeName/destination mix up. - Removed redundant constructor. - Added getApplicationHeaders * cpp/lib/broker/MessageHandlerImpl.cpp: - Added missing acknowledgements - Replaced assert(0) with throw "unimplemented". - Moved exchange existence exceptions to ExchangeRegistry - Handle transfers with references. * cpp/tests/Makefile.am (check): Don't run tests unless all libs built OK. * cpp/tests/python_tests: Re-enabled python tests. Not all passing. * python/tests/message.py (MessageTests.test_get): Replace get-ok with ok. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@504305 13f79535-47bb-0310-9956-ffa450edef68 --- python/tests/message.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/tests') diff --git a/python/tests/message.py b/python/tests/message.py index a7c8f875eb..f82a50911a 100644 --- a/python/tests/message.py +++ b/python/tests/message.py @@ -364,7 +364,7 @@ class MessageTests(TestBase): for i in range(1, 11): reply = channel.message_get(no_ack=True) self.assertEqual(reply.method.klass.name, "message") - self.assertEqual(reply.method.name, "get-ok") + self.assertEqual(reply.method.name, "ok") self.assertEqual("Message %d" % i, reply.body) reply = channel.message_get(no_ack=True) @@ -378,7 +378,7 @@ class MessageTests(TestBase): for i in range(11, 21): reply = channel.message_get(no_ack=False) self.assertEqual(reply.method.klass.name, "message") - self.assertEqual(reply.method.name, "get-ok") + self.assertEqual(reply.method.name, "ok") self.assertEqual("Message %d" % i, reply.body) reply.ok() @@ -399,7 +399,7 @@ class MessageTests(TestBase): for i in [14, 16, 18, 20]: reply = channel.message_get(no_ack=False) self.assertEqual(reply.method.klass.name, "message") - self.assertEqual(reply.method.name, "get-ok") + self.assertEqual(reply.method.name, "ok") self.assertEqual("Message %d" % i, reply.body) reply.ok() #channel.message_ack(delivery_tag=reply.delivery_tag) -- cgit v1.2.1