diff options
author | Robert Godfrey <rgodfrey@apache.org> | 2014-03-03 19:03:16 +0000 |
---|---|---|
committer | Robert Godfrey <rgodfrey@apache.org> | 2014-03-03 19:03:16 +0000 |
commit | 180a7eb21bd6aee461e9213174c1824db3d0d6f4 (patch) | |
tree | 4559a1876b143e806670447569c397672a375295 | |
parent | c0233ece5947fe88c87c7ad4b06d35c6fae5852b (diff) | |
download | qpid-python-180a7eb21bd6aee461e9213174c1824db3d0d6f4.tar.gz |
QPID-5577 : remove test which only tests that something fails if you pass in a null in a constructor parameter which needs to get dereferenced for the object to construct
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1573677 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/java/broker-core/src/test/java/org/apache/qpid/server/queue/StandardQueueTest.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/qpid/java/broker-core/src/test/java/org/apache/qpid/server/queue/StandardQueueTest.java b/qpid/java/broker-core/src/test/java/org/apache/qpid/server/queue/StandardQueueTest.java index b1c479b5b7..4116be1954 100644 --- a/qpid/java/broker-core/src/test/java/org/apache/qpid/server/queue/StandardQueueTest.java +++ b/qpid/java/broker-core/src/test/java/org/apache/qpid/server/queue/StandardQueueTest.java @@ -43,26 +43,6 @@ import static org.mockito.Mockito.mock; public class StandardQueueTest extends AbstractQueueTestBase { - public void testCreationFailsWithNoVhost() - { - try - { - Map<String,Object> queueAttributes = new HashMap<String, Object>(); - queueAttributes.put(Queue.ID, UUID.randomUUID()); - queueAttributes.put(Queue.NAME, "testActiveConsumerCount"); - queueAttributes.put(Queue.OWNER, "testOwner"); - - setQueue(new StandardQueue(null, queueAttributes)); - assertNull("Queue was created", getQueue()); - } - catch (IllegalArgumentException e) - { - assertTrue("Exception was not about missing vhost", - e.getMessage().contains("Host")); - } - } - - public void testAutoDeleteQueue() throws Exception { getQueue().stop(); |