directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r489711 - /directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/NameOrNumericIdSyntaxCheckerTest.java
Date Fri, 22 Dec 2006 18:21:35 GMT
Author: elecharny
Date: Fri Dec 22 10:21:34 2006
New Revision: 489711

URL: http://svn.apache.org/viewvc?view=rev&rev=489711
Log:
removed dead code

Modified:
    directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/NameOrNumericIdSyntaxCheckerTest.java

Modified: directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/NameOrNumericIdSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/NameOrNumericIdSyntaxCheckerTest.java?view=diff&rev=489711&r1=489710&r2=489711
==============================================================================
--- directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/NameOrNumericIdSyntaxCheckerTest.java
(original)
+++ directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/NameOrNumericIdSyntaxCheckerTest.java
Fri Dec 22 10:21:34 2006
@@ -47,17 +47,6 @@
         assertFalse( checker.isValidSyntax( "" ) );
     }
 
-
-    /*
-    public void testOneCharString()
-    {
-        assertFalse( checker.isValidSyntax( "0" ) );
-        assertFalse( checker.isValidSyntax( "." ) );
-        assertTrue( checker.isValidSyntax( "a" ) );
-        assertFalse( checker.isValidSyntax( "-" ) );
-    }
-    */
-    
     public void testNumericIds()
     {
         assertFalse( checker.isValidSyntax( "111" ) );
@@ -66,16 +55,4 @@
         assertTrue( checker.isValidSyntax( "1.1" ) );
         assertTrue( checker.isValidSyntax( "1.3.6.1.2.67.3.2" ) );
     }
-    
-    /*
-    public void testNames()
-    {
-        assertFalse( checker.isValidSyntax( "asdf$" ) );
-        assertTrue( checker.isValidSyntax( "asdf-asdf" ) );
-        assertFalse( checker.isValidSyntax( "-asdf-asdf" ) );
-        assertTrue( checker.isValidSyntax( "A-asdf-asdf" ) );
-        assertFalse( checker.isValidSyntax( "0-asdf-asdf" ) );
-        assertTrue( checker.isValidSyntax( "A-asdf0a234sdf" ) );
-    }
-    */
 }



Mime
View raw message