directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r810502 - /directory/apacheds/branches/apacheds-schema/core/src/test/java/org/apache/directory/server/core/schema/SchemaServiceTest.java
Date Wed, 02 Sep 2009 13:39:32 GMT
Author: akarasulu
Date: Wed Sep  2 13:39:32 2009
New Revision: 810502

URL: http://svn.apache.org/viewvc?rev=810502&view=rev
Log:
depending on where the schema loader gets its files it will enable some schema and load them

Modified:
    directory/apacheds/branches/apacheds-schema/core/src/test/java/org/apache/directory/server/core/schema/SchemaServiceTest.java

Modified: directory/apacheds/branches/apacheds-schema/core/src/test/java/org/apache/directory/server/core/schema/SchemaServiceTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/core/src/test/java/org/apache/directory/server/core/schema/SchemaServiceTest.java?rev=810502&r1=810501&r2=810502&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/core/src/test/java/org/apache/directory/server/core/schema/SchemaServiceTest.java
(original)
+++ directory/apacheds/branches/apacheds-schema/core/src/test/java/org/apache/directory/server/core/schema/SchemaServiceTest.java
Wed Sep  2 13:39:32 2009
@@ -79,7 +79,7 @@
             nameAttrs.add( type.getName() );
         }
         
-        assertEquals( "size of attributes extending name", 15, nameAttrs.size() );
+        assertTrue( "size of attributes extending name", nameAttrs.size() == 15 || nameAttrs.size()
== 23 );
         assertTrue( nameAttrs.contains( "dmdName" ) );
         assertTrue( nameAttrs.contains( "o" ) );
         assertTrue( nameAttrs.contains( "c" ) );



Mime
View raw message