From 180a7eb21bd6aee461e9213174c1824db3d0d6f4 Mon Sep 17 00:00:00 2001 From: Robert Godfrey Date: Mon, 3 Mar 2014 19:03:16 +0000 Subject: 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 --- .../apache/qpid/server/queue/StandardQueueTest.java | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'qpid') 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 queueAttributes = new HashMap(); - 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(); -- cgit v1.2.1