mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
25.47.2006 851285de1037bc907a7a36fa9e9cea2b65863fd5
Move the test cases for the DN and Entry classes from the core package to the
types package.
2 files renamed
16 ■■■■ changed files
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/types/TestDN.java 8 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/types/TestEntry.java 8 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/types/TestDN.java
File was renamed from opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/TestDN.java
@@ -24,15 +24,13 @@
 *
 *      Portions Copyright 2006 Sun Microsystems, Inc.
 */
package org.opends.server.core;
package org.opends.server.types;
import static org.testng.Assert.*;
import org.opends.server.TestCaseUtils;
import org.opends.server.core.DirectoryException;
import org.opends.server.protocols.asn1.ASN1OctetString;
import org.opends.server.types.DN;
import org.opends.server.types.RDN;
import org.opends.server.types.AttributeValue;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
@@ -44,7 +42,7 @@
 * This class defines a set of tests for the org.opends.server.core.DN
 * class.
 */
public class TestDN extends CoreTestCase {
public class TestDN extends TypesTestCase {
  /**
   * DN test data provider.
   *
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/types/TestEntry.java
File was renamed from opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/TestEntry.java
@@ -24,7 +24,7 @@
 *
 *      Portions Copyright 2006 Sun Microsystems, Inc.
 */
package org.opends.server.core;
package org.opends.server.types;
import static org.testng.AssertJUnit.assertEquals;
@@ -35,12 +35,14 @@
import org.opends.server.TestCaseUtils;
import org.opends.server.api.SubtreeSpecificationSet;
import org.opends.server.core.DirectoryException;
import org.opends.server.core.DirectoryServer;
import org.opends.server.core.RFC3672SubtreeSpecification;
import org.opends.server.protocols.asn1.ASN1OctetString;
import org.opends.server.schema.AttributeTypeSyntax;
import org.opends.server.schema.BooleanSyntax;
import org.opends.server.schema.IntegerSyntax;
import org.opends.server.schema.RFC3672SubtreeSpecificationSyntax;
import org.opends.server.types.*;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.AfterClass;
@@ -51,7 +53,7 @@
 * At the moment this test suite only tests the getAttributeValue and
 * getAttributeValues methods.
 */
public final class TestEntry extends CoreTestCase {
public final class TestEntry extends TypesTestCase {
  /**
   * Create an entry with the specified single attribute type and value.