opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/TestAddResponseProtocolOp.java
@@ -28,15 +28,11 @@ import org.forgerock.opendj.io.ASN1; import org.forgerock.opendj.io.ASN1Reader; import org.forgerock.opendj.io.ASN1Writer; import org.forgerock.opendj.ldap.ByteString; import org.forgerock.opendj.ldap.ByteStringBuilder; import org.opends.server.DirectoryServerTestCase; import org.opends.server.TestCaseUtils; import org.opends.server.core.DirectoryServer; import org.forgerock.opendj.ldap.schema.AttributeType; import org.opends.server.types.DN; import org.opends.server.types.LDAPException; import org.opends.server.types.RDN; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; @@ -62,9 +58,7 @@ TestCaseUtils.startServer(); //Setup the DN to use in the response tests. AttributeType attribute = DirectoryServer.getAttributeType("testAttribute"); ByteString attributeValue = ByteString.valueOfUtf8("testValue"); dn = new DN(new RDN[] { new RDN(attribute, attributeValue) }); dn = DN.valueOf("testAttribute=testValue"); } /** opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/TestCompareResponseProtocolOp.java
@@ -24,14 +24,10 @@ import org.forgerock.opendj.io.ASN1; import org.forgerock.opendj.io.ASN1Reader; import org.forgerock.opendj.io.ASN1Writer; import org.forgerock.opendj.ldap.ByteString; import org.forgerock.opendj.ldap.ByteStringBuilder; import org.forgerock.opendj.ldap.schema.AttributeType; import org.opends.server.TestCaseUtils; import org.opends.server.core.DirectoryServer; import org.opends.server.types.DN; import org.opends.server.types.LDAPException; import org.opends.server.types.RDN; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; @@ -62,9 +58,7 @@ TestCaseUtils.startServer(); //Setup the DN to use in the response tests. AttributeType attribute = DirectoryServer.getAttributeType("testAttribute"); ByteString attributeValue = ByteString.valueOfUtf8("testValue"); dn = new DN(new RDN[] { new RDN(attribute, attributeValue) }); dn = DN.valueOf("testAttribute=testValue"); } /** opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/TestDeleteResponseProtocolOp.java
@@ -24,14 +24,10 @@ import org.forgerock.opendj.io.ASN1; import org.forgerock.opendj.io.ASN1Reader; import org.forgerock.opendj.io.ASN1Writer; import org.forgerock.opendj.ldap.ByteString; import org.forgerock.opendj.ldap.ByteStringBuilder; import org.forgerock.opendj.ldap.schema.AttributeType; import org.opends.server.TestCaseUtils; import org.opends.server.core.DirectoryServer; import org.opends.server.types.DN; import org.opends.server.types.LDAPException; import org.opends.server.types.RDN; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; @@ -62,9 +58,7 @@ TestCaseUtils.startServer(); //Setup the DN to use in the response tests. AttributeType attribute = DirectoryServer.getAttributeType("testAttribute"); ByteString attributeValue = ByteString.valueOfUtf8("testValue"); dn = new DN(new RDN[] { new RDN(attribute, attributeValue) }); dn = DN.valueOf("testAttribute=testValue"); } /** opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/TestModifyDNResponseProtocolOp.java
@@ -28,15 +28,11 @@ import org.forgerock.opendj.io.ASN1; import org.forgerock.opendj.io.ASN1Reader; import org.forgerock.opendj.io.ASN1Writer; import org.forgerock.opendj.ldap.ByteString; import org.forgerock.opendj.ldap.ByteStringBuilder; import org.opends.server.DirectoryServerTestCase; import org.opends.server.TestCaseUtils; import org.opends.server.core.DirectoryServer; import org.forgerock.opendj.ldap.schema.AttributeType; import org.opends.server.types.DN; import org.opends.server.types.LDAPException; import org.opends.server.types.RDN; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; @@ -63,9 +59,7 @@ TestCaseUtils.startServer(); //Setup the DN to use in the response tests. AttributeType attribute = DirectoryServer.getAttributeType("testAttribute"); ByteString attributeValue = ByteString.valueOfUtf8("testValue"); dn = new DN(new RDN[] { new RDN(attribute, attributeValue) }); dn = DN.valueOf("testAttribute=testValue"); } /** opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/TestModifyResponseProtocolOp.java
@@ -24,14 +24,10 @@ import org.forgerock.opendj.io.ASN1; import org.forgerock.opendj.io.ASN1Reader; import org.forgerock.opendj.io.ASN1Writer; import org.forgerock.opendj.ldap.ByteString; import org.forgerock.opendj.ldap.ByteStringBuilder; import org.forgerock.opendj.ldap.schema.AttributeType; import org.opends.server.TestCaseUtils; import org.opends.server.core.DirectoryServer; import org.opends.server.types.DN; import org.opends.server.types.LDAPException; import org.opends.server.types.RDN; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; @@ -62,9 +58,7 @@ TestCaseUtils.startServer(); //Setup the DN to use in the response tests. AttributeType attribute = DirectoryServer.getAttributeType("testAttribute"); ByteString attributeValue = ByteString.valueOfUtf8("testValue"); dn = new DN(new RDN[] { new RDN(attribute, attributeValue) }); dn = DN.valueOf("testAttribute=testValue"); } /**