qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgodf...@apache.org
Subject svn commit: r1573677 - /qpid/trunk/qpid/java/broker-core/src/test/java/org/apache/qpid/server/queue/StandardQueueTest.java
Date Mon, 03 Mar 2014 19:03:17 GMT
Author: rgodfrey
Date: Mon Mar  3 19:03:16 2014
New Revision: 1573677

URL: http://svn.apache.org/r1573677
Log:
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

Modified:
    qpid/trunk/qpid/java/broker-core/src/test/java/org/apache/qpid/server/queue/StandardQueueTest.java

Modified: qpid/trunk/qpid/java/broker-core/src/test/java/org/apache/qpid/server/queue/StandardQueueTest.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker-core/src/test/java/org/apache/qpid/server/queue/StandardQueueTest.java?rev=1573677&r1=1573676&r2=1573677&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker-core/src/test/java/org/apache/qpid/server/queue/StandardQueueTest.java
(original)
+++ qpid/trunk/qpid/java/broker-core/src/test/java/org/apache/qpid/server/queue/StandardQueueTest.java
Mon Mar  3 19:03:16 2014
@@ -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();



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message