cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r791539 - /cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/uri/JMSEndpointTest.java
Date Mon, 06 Jul 2009 16:52:09 GMT
Author: dkulp
Date: Mon Jul  6 16:52:08 2009
New Revision: 791539

URL: http://svn.apache.org/viewvc?rev=791539&view=rev
Log:
Fix jms test failure by ignoring the order of the params.   Just make
sure they are there.

Modified:
    cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/uri/JMSEndpointTest.java

Modified: cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/uri/JMSEndpointTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/uri/JMSEndpointTest.java?rev=791539&r1=791538&r2=791539&view=diff
==============================================================================
--- cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/uri/JMSEndpointTest.java
(original)
+++ cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/uri/JMSEndpointTest.java
Mon Jul  6 16:52:08 2009
@@ -127,7 +127,9 @@
         assertTrue(endpoint instanceof JMSJNDIEndpoint);
         assertEquals(endpoint.getParameters().size(), 2);
         String requestUri = endpoint.getRequestURI();
-        assertEquals(requestUri, "jms:jndi:Foo.Bar?foo=bar&foo2=bar2");
+        assertTrue(requestUri.startsWith("jms:jndi:Foo.Bar?"));
+        assertTrue(requestUri.contains("foo=bar"));
+        assertTrue(requestUri.contains("foo2=bar2"));
     }
     
     private JMSEndpoint resolveEndpoint(String uri) {



Mime
View raw message