directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r890682 - /directory/shared/branches/shared-schema/ldap-schema-loader/src/test/java/org/apache/directory/server/schema/SchemaManagerDelTest.java
Date Tue, 15 Dec 2009 08:22:33 GMT
Author: elecharny
Date: Tue Dec 15 08:22:33 2009
New Revision: 890682

URL: http://svn.apache.org/viewvc?rev=890682&view=rev
Log:
Fixed the failing test : the selected Syntax was not used in the System schema, so there was
no dependence on it.

Modified:
    directory/shared/branches/shared-schema/ldap-schema-loader/src/test/java/org/apache/directory/server/schema/SchemaManagerDelTest.java

Modified: directory/shared/branches/shared-schema/ldap-schema-loader/src/test/java/org/apache/directory/server/schema/SchemaManagerDelTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap-schema-loader/src/test/java/org/apache/directory/server/schema/SchemaManagerDelTest.java?rev=890682&r1=890681&r2=890682&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap-schema-loader/src/test/java/org/apache/directory/server/schema/SchemaManagerDelTest.java
(original)
+++ directory/shared/branches/shared-schema/ldap-schema-loader/src/test/java/org/apache/directory/server/schema/SchemaManagerDelTest.java
Tue Dec 15 08:22:33 2009
@@ -547,6 +547,7 @@
         assertEquals( ocSize, schemaManager.getObjectClassRegistry().size() );
         assertEquals( goidSize, schemaManager.getOidRegistry().size() );
     }
+    
 
     //=========================================================================
     // Syntax deletion tests
@@ -615,14 +616,13 @@
         int sSize = schemaManager.getLdapSyntaxRegistry().size();
         int goidSize = schemaManager.getOidRegistry().size();
 
-
         //1.3.6.1.4.1.1466.115.121.1.26 is used by MR 1.3.6.1.4.1.1466.109.114.2
         LdapSyntax syntax = new LdapSyntax( "1.3.6.1.4.1.1466.115.121.1.26" );
         assertFalse( schemaManager.delete( syntax ) );
         
-        // syntax 1.3.6.1.4.1.1466.115.121.1.1 is used by MR 2.5.13.1
-        syntax = new LdapSyntax( "1.3.6.1.4.1.1466.115.121.1.1" );
-        // FIXME the below assertion is failing, not sure why
+        // syntax 1.3.6.1.4.1.1466.115.121.1.12 is used by MR 2.5.13.1 and many AT
+        syntax = new LdapSyntax( "1.3.6.1.4.1.1466.115.121.1.12" );
+        
         assertFalse( schemaManager.delete( syntax ) );
         
         assertEquals( sSize, schemaManager.getLdapSyntaxRegistry().size() );



Mime
View raw message