activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r789412 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/NMSConnectionFactoryTest.cs
Date Mon, 29 Jun 2009 19:03:16 GMT
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);
 			}
 		}
 	}



Mime
View raw message