directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r414268 - /directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/util/StringToolsTest.java
Date Wed, 14 Jun 2006 14:28:03 GMT
Author: elecharny
Date: Wed Jun 14 07:28:03 2006
New Revision: 414268

URL: http://svn.apache.org/viewvc?rev=414268&view=rev
Log:
Rollback the tests to avoid conflict with optim branch

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

Modified: directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/util/StringToolsTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/util/StringToolsTest.java?rev=414268&r1=414267&r2=414268&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/util/StringToolsTest.java
(original)
+++ directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/util/StringToolsTest.java
Wed Jun 14 07:28:03 2006
@@ -280,37 +280,4 @@
         assertEquals( "a b", StringTools.deepTrim( " a b", false ) );
         assertEquals( "a b", StringTools.deepTrim( "a b ", false ) );
     }
-
-    public void testTrim()
-    {
-        assertEquals( "", StringTools.trim( (String)null ) );
-        assertEquals( "", StringTools.trim( "" ) );
-        assertEquals( "", StringTools.trim( " " ) );
-        assertEquals( "", StringTools.trim( "  " ) );
-        assertEquals( "a", StringTools.trim( "a  " ) );
-        assertEquals( "a", StringTools.trim( "  a" ) );
-        assertEquals( "a", StringTools.trim( "  a  " ) );
-    }
-
-    public void testTrimLeft()
-    {
-        assertEquals( "", StringTools.trimLeft( (String)null ) );
-        assertEquals( "", StringTools.trimLeft( "" ) );
-        assertEquals( "", StringTools.trimLeft( " " ) );
-        assertEquals( "", StringTools.trimLeft( "  " ) );
-        assertEquals( "a  ", StringTools.trimLeft( "a  " ) );
-        assertEquals( "a", StringTools.trimLeft( "  a" ) );
-        assertEquals( "a  ", StringTools.trimLeft( "  a  " ) );
-    }
-
-    public void testTrimRight()
-    {
-        assertEquals( "", StringTools.trimRight( (String)null ) );
-        assertEquals( "", StringTools.trimRight( "" ) );
-        assertEquals( "", StringTools.trimRight( " " ) );
-        assertEquals( "", StringTools.trimRight( "  " ) );
-        assertEquals( "a", StringTools.trimRight( "a  " ) );
-        assertEquals( "  a", StringTools.trimRight( "  a" ) );
-        assertEquals( "  a", StringTools.trimRight( "  a  " ) );
-    }
 }



Mime
View raw message