directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r578128 - /directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceITest.java
Date Fri, 21 Sep 2007 14:09:57 GMT
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" );



Mime
View raw message