directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r492195 - /directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/Ia5StringSyntaxCheckerTest.java
Date Wed, 03 Jan 2007 16:18:36 GMT
Author: elecharny
Date: Wed Jan  3 08:18:36 2007
New Revision: 492195

URL: http://svn.apache.org/viewvc?view=rev&rev=492195
Log:
Replaced french chars above 0x7F by their unicode counterpart

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

Modified: directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/Ia5StringSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/Ia5StringSyntaxCheckerTest.java?view=diff&rev=492195&r1=492194&r2=492195
==============================================================================
--- directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/Ia5StringSyntaxCheckerTest.java
(original)
+++ directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/Ia5StringSyntaxCheckerTest.java
Wed Jan  3 08:18:36 2007
@@ -46,17 +46,17 @@
 
     public void testWrongCase()
     {
-        assertFalse( checker.isValidSyntax( "Ž" ) );
-        assertFalse( checker.isValidSyntax( "¤" ) );
-        assertFalse( checker.isValidSyntax( "" ) );
-        assertFalse( checker.isValidSyntax( "" ) );
-        assertFalse( checker.isValidSyntax( "ˆ" ) );
-        assertFalse( checker.isValidSyntax( "¡" ) );
-        assertFalse( checker.isValidSyntax( "" ) );
-        assertFalse( checker.isValidSyntax( "£" ) );
-        assertFalse( checker.isValidSyntax( "Û" ) );
-        assertFalse( checker.isValidSyntax( "«" ) );
-        assertFalse( checker.isValidSyntax( "ã" ) );
+        assertFalse( checker.isValidSyntax( "\u00E9" ) );
+        assertFalse( checker.isValidSyntax( "\u00A7" ) );
+        assertFalse( checker.isValidSyntax( "\u00E8" ) );
+        assertFalse( checker.isValidSyntax( "\u00C7" ) );
+        assertFalse( checker.isValidSyntax( "\u00E0" ) );
+        assertFalse( checker.isValidSyntax( "\u00B0" ) );
+        assertFalse( checker.isValidSyntax( "\u00F9" ) );
+        assertFalse( checker.isValidSyntax( "\u00A3" ) );
+        assertFalse( checker.isValidSyntax( "\u20AC" ) );
+        assertFalse( checker.isValidSyntax( "\u00B4" ) );
+        assertFalse( checker.isValidSyntax( "\u00B8" ) );
     }
     
     



Mime
View raw message