directory-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?view=rev&rev=489709
Log:
added a test

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

Modified: directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/OtherMailboxSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/OtherMailboxSyntaxCheckerTest.java?view=diff&rev=489709&r1=489708&r2=489709
==============================================================================
--- directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/OtherMailboxSyntaxCheckerTest.java
(original)
+++ directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/OtherMailboxSyntaxCheckerTest.java
Fri Dec 22 10:21:00 2006
@@ -48,6 +48,8 @@
     {
         assertFalse( checker.isValidSyntax( "mailType" ) );
         assertFalse( checker.isValidSyntax( "%$test" ) );
+        assertFalse( checker.isValidSyntax( "test$test$test" ) );
+        assertFalse( checker.isValidSyntax( "test$test$" ) );
         assertFalse( checker.isValidSyntax( new String( new byte[]{ 'm', 'a', 'i', 'l', '$',
0x00, 0x7F, (byte)0x80 }, "UTF-8" ) ) );
     }
     



Mime
View raw message