diff options
| author | Alan Conway <aconway@apache.org> | 2007-02-06 21:38:30 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-02-06 21:38:30 +0000 |
| commit | 877e7ae368d4320bd60ba5750be207a5cac13f43 (patch) | |
| tree | 9f0777c5e6069b537e13d1c1f88cc08560f47de3 /python | |
| parent | a0c19714ccb547c401e598189a36573ac750e809 (diff) | |
| download | qpid-python-877e7ae368d4320bd60ba5750be207a5cac13f43.tar.gz | |
* 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
Diffstat (limited to 'python')
| -rw-r--r-- | python/tests/message.py | 6 |
1 files changed, 3 insertions, 3 deletions
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) |
