Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 14F2A10C3D for ; Mon, 3 Mar 2014 19:03:39 +0000 (UTC) Received: (qmail 19945 invoked by uid 500); 3 Mar 2014 19:03:38 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 19918 invoked by uid 500); 3 Mar 2014 19:03:38 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 19911 invoked by uid 99); 3 Mar 2014 19:03:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 19:03:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 19:03:37 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 1FE3C23888FE; Mon, 3 Mar 2014 19:03:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@qpid.apache.org From: rgodfrey@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140303190317.1FE3C23888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 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(); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org