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 2011/03/16 15:23:19 UTC
svn commit: r1082157 -
/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/ldif/LdifReaderTest.java
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();