activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1086974 - /activemq/activemq-apollo/trunk/apollo-broker/src/test/scala/org/apache/activemq/apollo/broker/transport/VMTransportTest.java
Date Wed, 30 Mar 2011 14:55:01 GMT
Author: chirino
Date: Wed Mar 30 14:55:01 2011
New Revision: 1086974

URL: http://svn.apache.org/viewvc?rev=1086974&view=rev
Log:
Fixing failing test case.

Modified:
    activemq/activemq-apollo/trunk/apollo-broker/src/test/scala/org/apache/activemq/apollo/broker/transport/VMTransportTest.java

Modified: activemq/activemq-apollo/trunk/apollo-broker/src/test/scala/org/apache/activemq/apollo/broker/transport/VMTransportTest.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/test/scala/org/apache/activemq/apollo/broker/transport/VMTransportTest.java?rev=1086974&r1=1086973&r2=1086974&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-broker/src/test/scala/org/apache/activemq/apollo/broker/transport/VMTransportTest.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-broker/src/test/scala/org/apache/activemq/apollo/broker/transport/VMTransportTest.java
Wed Mar 30 14:55:01 2011
@@ -36,7 +36,7 @@ public class VMTransportTest {
 	
 	@Test()
 	public void autoCreateBroker() throws Exception {
-		Transport connect = TransportFactory.connect("vm://test1?protocol=null");
+		Transport connect = TransportFactory.connect("vm://test1");
         connect.setDispatchQueue(Dispatch.createQueue());
 		connect.start();
 		assertNotNull(connect);
@@ -45,12 +45,12 @@ public class VMTransportTest {
 	
 	@Test(expected=IOException.class)
 	public void noAutoCreateBroker() throws Exception {
-		TransportFactory.connect("vm://test2?create=false&protocol=null");
+		TransportFactory.connect("vm://test2?create=false");
 	}
 	
 	@Test(expected=IllegalArgumentException.class)
 	public void badOptions() throws Exception {
-		TransportFactory.connect("vm://test3?crazy-option=false&protocol=null");
+		TransportFactory.connect("vm://test3?crazy-option=false");
 	}
 	
 }



Mime
View raw message