tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andygumbre...@apache.org
Subject svn commit: r1414594 - /openejb/trunk/openejb/server/openejb-client/src/test/java/org/apache/openejb/client/StickyConnectionStrategyIteratorTest.java
Date Wed, 28 Nov 2012 09:01:36 GMT
Author: andygumbrecht
Date: Wed Nov 28 09:01:35 2012
New Revision: 1414594

URL: http://svn.apache.org/viewvc?rev=1414594&view=rev
Log:
Surely this should be assert true?

Modified:
    openejb/trunk/openejb/server/openejb-client/src/test/java/org/apache/openejb/client/StickyConnectionStrategyIteratorTest.java

Modified: openejb/trunk/openejb/server/openejb-client/src/test/java/org/apache/openejb/client/StickyConnectionStrategyIteratorTest.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/server/openejb-client/src/test/java/org/apache/openejb/client/StickyConnectionStrategyIteratorTest.java?rev=1414594&r1=1414593&r2=1414594&view=diff
==============================================================================
--- openejb/trunk/openejb/server/openejb-client/src/test/java/org/apache/openejb/client/StickyConnectionStrategyIteratorTest.java
(original)
+++ openejb/trunk/openejb/server/openejb-client/src/test/java/org/apache/openejb/client/StickyConnectionStrategyIteratorTest.java
Wed Nov 28 09:01:35 2012
@@ -22,9 +22,7 @@ import org.junit.Test;
 import java.net.URI;
 import java.util.ArrayList;
 import java.util.Arrays;
-import java.util.Iterator;
 import java.util.List;
-import java.util.NoSuchElementException;
 
 /**
  * @version $Rev$ $Date$
@@ -80,11 +78,11 @@ public class StickyConnectionStrategyIte
             Assert.assertTrue(found.contains(uri));
         }
 
-        Assert.assertFalse("Found: " + found + ", Expected: " + Arrays.asList(uris),
+        Assert.assertTrue("Found: " + found + ", Expected: " + Arrays.asList(uris),
                 found.get(0).equals(uris[0]) &&
-                found.get(1).equals(uris[1]) &&
-                found.get(2).equals(uris[2]) &&
-                found.get(3).equals(uris[3])
+                        found.get(1).equals(uris[1]) &&
+                        found.get(2).equals(uris[2]) &&
+                        found.get(3).equals(uris[3])
         );
     }
 



Mime
View raw message