Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 97128 invoked from network); 21 Sep 2007 14:10:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Sep 2007 14:10:21 -0000 Received: (qmail 96823 invoked by uid 500); 21 Sep 2007 14:10:12 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 96770 invoked by uid 500); 21 Sep 2007 14:10:12 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 96759 invoked by uid 99); 21 Sep 2007 14:10:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 07:10:12 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 14:10:19 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 38EB41A9832; Fri, 21 Sep 2007 07:09:58 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20070921140958.38EB41A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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" );