You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/09/21 16:09:57 UTC

svn commit: r578128 - /directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceITest.java

Author: elecharny
Date: Fri Sep 21 07:09:57 2007
New Revision: 578128

URL: http://svn.apache.org/viewvc?rev=578128&view=rev
Log:
Used strings instead of SchemaConstants elements, for clarity 

Modified:
    directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceITest.java

Modified: directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceITest.java?rev=578128&r1=578127&r2=578128&view=diff
==============================================================================
--- directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceITest.java (original)
+++ directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceITest.java Fri Sep 21 07:09:57 2007
@@ -32,7 +32,6 @@
 import javax.naming.directory.SearchResult;
 
 import org.apache.directory.server.core.unit.AbstractAdminTestCase;
-import org.apache.directory.shared.ldap.constants.SchemaConstants;
 import org.apache.directory.shared.ldap.message.AttributeImpl;
 import org.apache.directory.shared.ldap.message.AttributesImpl;
 import org.apache.directory.shared.ldap.message.ModificationItemImpl;
@@ -64,7 +63,7 @@
         Attributes subentry = new AttributesImpl();
         Attribute objectClass = new AttributeImpl( "objectClass" );
         objectClass.add( "top" );
-        objectClass.add( SchemaConstants.SUBENTRY_OC );
+        objectClass.add( "subentry" );
         objectClass.add( "collectiveAttributeSubentry" );
         subentry.put( objectClass );
         subentry.put( "c-ou", "configuration" );
@@ -79,7 +78,7 @@
         Attributes subentry = new AttributesImpl();
         Attribute objectClass = new AttributeImpl( "objectClass" );
         objectClass.add( "top" );
-        objectClass.add( SchemaConstants.SUBENTRY_OC );
+        objectClass.add( "subentry" );
         objectClass.add( "collectiveAttributeSubentry" );
         subentry.put( objectClass );
         subentry.put( "c-ou", "configuration2" );
@@ -94,7 +93,7 @@
         Attributes subentry = new AttributesImpl();
         Attribute objectClass = new AttributeImpl( "objectClass" );
         objectClass.add( "top" );
-        objectClass.add( SchemaConstants.SUBENTRY_OC );
+        objectClass.add( "subentry" );
         objectClass.add( "collectiveAttributeSubentry" );
         subentry.put( objectClass );
         subentry.put( "c-st", "FL" );