Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 33307 invoked from network); 16 Mar 2011 14:23:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Mar 2011 14:23:42 -0000 Received: (qmail 79644 invoked by uid 500); 16 Mar 2011 14:23:42 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 79599 invoked by uid 500); 16 Mar 2011 14:23:42 -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 79592 invoked by uid 99); 16 Mar 2011 14:23:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 14:23:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 14:23:41 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4BF46238896F; Wed, 16 Mar 2011 14:23:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1082157 - /directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/ldif/LdifReaderTest.java Date: Wed, 16 Mar 2011 14:23:19 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110316142319.4BF46238896F@eris.apache.org> Author: elecharny Date: Wed Mar 16 14:23:18 2011 New Revision: 1082157 URL: http://svn.apache.org/viewvc?rev=1082157&view=rev Log: Fixed a bad OID used in controls Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/ldif/LdifReaderTest.java Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/ldif/LdifReaderTest.java URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/ldif/LdifReaderTest.java?rev=1082157&r1=1082156&r2=1082157&view=diff ============================================================================== --- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/ldif/LdifReaderTest.java (original) +++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/ldif/LdifReaderTest.java Wed Mar 16 14:23:18 2011 @@ -34,8 +34,6 @@ import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.List; -import com.mycila.junit.concurrent.Concurrency; -import com.mycila.junit.concurrent.ConcurrentJunitRunner; import org.apache.directory.shared.i18n.I18n; import org.apache.directory.shared.ldap.model.constants.SchemaConstants; import org.apache.directory.shared.ldap.model.entry.EntryAttribute; @@ -47,6 +45,9 @@ import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; +import com.mycila.junit.concurrent.Concurrency; +import com.mycila.junit.concurrent.ConcurrentJunitRunner; + /** * Test the LdifReader class @@ -345,7 +346,7 @@ public class LdifReaderTest "# field is \"true\" and the controlValue field is\n" + "# absent, as required by [9].\n" + "dn: ou=Product Development, dc=airius, dc=com\n" + - "control: 1.2.840.11A556.1.4.805 true\n" + + "control: 1.2.840.113556.1.4.805 true\n" + "changetype: delete\n"; LdifReader reader = new LdifReader(); @@ -424,7 +425,7 @@ public class LdifReaderTest "# field is \"true\" and the controlValue field is\n" + "# absent, as required by [9].\n" + "dn: ou=Product Development, dc=airius, dc=com\n" + - "control: 1.2.840.11A556.1.4.805 true\n" + + "control: 1.2.840.113556.1.4.805 true\n" + "changetype: delete\n" + "\n" + "dn: cn=app1,ou=applications,ou=conf,dc=apache,dc=org\n" + @@ -1574,7 +1575,7 @@ public class LdifReaderTest "# field is \"true\" and the controlValue field is\n" + "# absent, as required by [9].\n" + "dn: ou=Product Development, dc=airius, dc=com\n" + - "control: 1.2.840.11A556.1.4.805 true\n" + + "control: 1.2.840.113A556.1.4.805 true\n" + "changetype: delete\n"; LdifReader reader = new LdifReader();