Author: gsim
Date: Fri Feb 16 04:03:37 2007
New Revision: 508377
URL: http://svn.apache.org/viewvc?view=rev&rev=508377
Log:
Updated failing list for java (some of these result in test suite blocking)
Added better error handling when connection closes without close method
Modified:
incubator/qpid/branches/qpid.0-9/python/java_failing.txt
incubator/qpid/branches/qpid.0-9/python/qpid/testlib.py
Modified: incubator/qpid/branches/qpid.0-9/python/java_failing.txt
URL:
http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/python/java_failing.txt?view=diff&rev=508377&r1=508376&r2=508377
==============================================================================
--- incubator/qpid/branches/qpid.0-9/python/java_failing.txt (original)
+++ incubator/qpid/branches/qpid.0-9/python/java_failing.txt Fri Feb 16
04:03:37 2007
@@ -17,3 +17,11 @@
tests.message.MessageTests.test_get
tests.message.MessageTests.test_qos_prefetch_size
tests.message.MessageTests.test_recover_requeue
+tests.message.MessageTests.test_checkpoint
+
+tests.queue.QueueTests.test_unbind_direct
+tests.queue.QueueTests.test_unbind_topic
+tests.queue.QueueTests.test_unbind_headers
+tests.queue.QueueTests.test_unbind_fanout
+
+tests.broker.BrokerTests.test_ping_pong
Modified: incubator/qpid/branches/qpid.0-9/python/qpid/testlib.py
URL:
http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/python/qpid/testlib.py?view=diff&rev=508377&r1=508376&r2=508377
==============================================================================
--- incubator/qpid/branches/qpid.0-9/python/qpid/testlib.py (original)
+++ incubator/qpid/branches/qpid.0-9/python/qpid/testlib.py Fri Feb 16 04:03:37
2007
@@ -26,6 +26,7 @@
import Queue
from getopt import getopt, GetoptError
from qpid.content import Content
+from qpid.message import Message
def findmodules(root):
"""Find potential python modules under directory root"""
@@ -233,13 +234,15 @@
"""
self.assertPublishGet(self.consume(queue), exchange, routing_key,
properties)
- def assertChannelException(self, expectedCode, message):
+ def assertChannelException(self, expectedCode, message):
+ if not isinstance(message, Message): self.fail("expected channel_close
method")
self.assertEqual("channel", message.method.klass.name)
self.assertEqual("close", message.method.name)
self.assertEqual(expectedCode, message.reply_code)
def assertConnectionException(self, expectedCode, message):
+ if not isinstance(message, Message): self.fail("expected
connection_close method")
self.assertEqual("connection", message.method.klass.name)
self.assertEqual("close", message.method.name)
self.assertEqual(expectedCode, message.reply_code)