From b9af8f181b7495cb343c280db4ce8979a04bfc91 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Tue, 12 Sep 2006 23:12:27 +0000
Subject: [PATCH] This commit changes several aspects of the unit test infrastructure:
---
opends/tests/unit-tests-testng/src/server/org/opends/server/schema/ApproximatematchingRule.java | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/schema/ApproximatematchingRule.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/schema/ApproximatematchingRule.java
index bfbf86d..ab5296c 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/schema/ApproximatematchingRule.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/schema/ApproximatematchingRule.java
@@ -28,7 +28,7 @@
import static org.testng.Assert.assertEquals;
-import org.opends.server.SchemaFixture;
+import org.opends.server.TestCaseUtils;
import org.opends.server.api.ApproximateMatchingRule;
import org.opends.server.protocols.asn1.ASN1OctetString;
import org.opends.server.types.ByteString;
@@ -166,17 +166,6 @@
@BeforeClass
public void setUp() throws Exception {
// This test suite depends on having the schema available.
- SchemaFixture.FACTORY.setUp();
- }
-
- /**
- * Tears down the environment for performing the tests in this suite.
- *
- * @throws Exception
- * If the environment could not be finalized.
- */
- @AfterClass
- public void tearDown() throws Exception {
- SchemaFixture.FACTORY.tearDown();
+ TestCaseUtils.startServer();
}
}
--
Gitblit v1.10.0