Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 99229 invoked from network); 29 Jun 2009 19:03:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Jun 2009 19:03:28 -0000 Received: (qmail 75326 invoked by uid 500); 29 Jun 2009 19:03:39 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 75274 invoked by uid 500); 29 Jun 2009 19:03:39 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 75265 invoked by uid 99); 29 Jun 2009 19:03:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2009 19:03:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.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, 29 Jun 2009 19:03:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 55839238887A; Mon, 29 Jun 2009 19:03:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r789412 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/NMSConnectionFactoryTest.cs Date: Mon, 29 Jun 2009 19:03:16 -0000 To: commits@activemq.apache.org From: jgomes@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090629190316.55839238887A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jgomes Date: Mon Jun 29 19:03:15 2009 New Revision: 789412 URL: http://svn.apache.org/viewvc?rev=789412&view=rev Log: Added discovery URL tests, but they are commented out. Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/NMSConnectionFactoryTest.cs Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/NMSConnectionFactoryTest.cs URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/NMSConnectionFactoryTest.cs?rev=789412&r1=789411&r2=789412&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/NMSConnectionFactoryTest.cs (original) +++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/NMSConnectionFactoryTest.cs Mon Jun 29 19:03:15 2009 @@ -33,8 +33,14 @@ [Row("activemq:failover:tcp://${activemqhost}:61616")] [Row("activemq:failover:(tcp://${activemqhost}:61616)")] [Row("activemq:failover:(tcp://${activemqhost}:61616,tcp://${activemqhost}:61616)")] - // ?? [Row("activemq:discovery://${activemqhost}:6155")] - +#if false + [Row("activemq:discovery:multicast://default")] + [Row("activemq:discovery:(multicast://default)")] + [Row("activemq:failover:discovery:multicast://default")] + [Row("activemq:failover:discovery:(multicast://default)")] + [Row("activemq:failover:(discovery:(multicast://default))")] +#endif + [Row("tcp://InvalidHost:61616", ExpectedException = typeof(NMSConnectionException))] [Row("activemq:tcp://InvalidHost:61616", ExpectedException = typeof(NMSConnectionException))] [Row("activemq:tcp://InvalidHost:61616?connection.asyncclose=false", ExpectedException = typeof(NMSConnectionException))] @@ -61,6 +67,7 @@ Assert.IsNotNull(factory.ConnectionFactory); using(IConnection connection = factory.CreateConnection("", "")) { + Assert.IsNotNull(connection); } } }