activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r413838 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java
Date Tue, 13 Jun 2006 08:49:13 GMT
Author: jstrachan
Date: Tue Jun 13 01:49:13 2006
New Revision: 413838

URL: http://svn.apache.org/viewvc?rev=413838&view=rev
Log:
removed Java 5 dependency - naughty Nathan :)

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java?rev=413838&r1=413837&r2=413838&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java
Tue Jun 13 01:49:13 2006
@@ -127,7 +127,7 @@
      
         String f = receiveFrame(10000);
         assertTrue(f.startsWith("CONNECTED"));
-        assertTrue(f.contains("response-id:1"));
+        assertTrue(f.indexOf("response-id:1") >= 0);
         
     }
     



Mime
View raw message