directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r419001 - /directory/branches/shared/optimization/ldap/src/test/java/org/apache/directory/shared/ldap/util/StringToolsTest.java
Date Tue, 04 Jul 2006 13:11:04 GMT
Author: elecharny
Date: Tue Jul  4 06:11:03 2006
New Revision: 419001

URL: http://svn.apache.org/viewvc?rev=419001&view=rev
Log:
Fiexed a bad test which happens only in strange situations and depending on the 
IBM JVM. (The test was ok, but the expected result was wrong)

Modified:
    directory/branches/shared/optimization/ldap/src/test/java/org/apache/directory/shared/ldap/util/StringToolsTest.java

Modified: directory/branches/shared/optimization/ldap/src/test/java/org/apache/directory/shared/ldap/util/StringToolsTest.java
URL: http://svn.apache.org/viewvc/directory/branches/shared/optimization/ldap/src/test/java/org/apache/directory/shared/ldap/util/StringToolsTest.java?rev=419001&r1=419000&r2=419001&view=diff
==============================================================================
--- directory/branches/shared/optimization/ldap/src/test/java/org/apache/directory/shared/ldap/util/StringToolsTest.java
(original)
+++ directory/branches/shared/optimization/ldap/src/test/java/org/apache/directory/shared/ldap/util/StringToolsTest.java
Tue Jul  4 06:11:03 2006
@@ -187,7 +187,7 @@
             || "elem2 = '[name2, 2]', elem1 = '[name1, 1]', elem3 = '[name3, 3]'".equals(
result )
             || "elem2 = '[name2, 2]', elem3 = '[name3, 3]', elem1 = '[name1, 1]'".equals(
result )
             || "elem3 = '[name3, 3]', elem1 = '[name1, 1]', elem2 = '[name2, 2]'".equals(
result )
-            || "elem3 = '[name3, 3]', elem3 = '[name2, 2]', elem1 = '[name1, 1]'".equals(
result );
+            || "elem3 = '[name3, 3]', elem2 = '[name2, 2]', elem1 = '[name1, 1]'".equals(
result );
 
         Assert.assertTrue( res );
     }



Mime
View raw message