From fbda6e0892dcfcc8dd43d21f6fb134aabb8d0cac Mon Sep 17 00:00:00 2001
From: jarnou <jarnou@localhost>
Date: Tue, 03 Jul 2007 09:29:17 +0000
Subject: [PATCH] Commits the refactoring of the core server to provide support for proxy/distribution/virtual functionnalities. This includes the new set of local operations, as well as the workflow and networkgroup support.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
index d74112b..7e50734 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
@@ -69,13 +69,13 @@
 import org.opends.server.protocols.ldap.BindResponseProtocolOp;
 import org.opends.server.tools.LDAPModify;
 import org.opends.server.types.DN;
+import org.opends.server.types.DirectoryException;
 import org.opends.server.types.FilePermission;
 import org.opends.server.types.InitializationException;
 import org.opends.server.types.OperatingSystem;
 import org.opends.server.types.ResultCode;
 
 import static org.testng.Assert.*;
-import static org.testng.Assert.assertEquals;
 
 import static org.opends.server.util.ServerConstants.*;
 import static org.opends.server.util.StaticUtils.*;
@@ -151,7 +151,8 @@
    *                           configuration.
    */
   public static void startServer()
-         throws IOException, InitializationException, ConfigException
+         throws IOException, InitializationException, ConfigException,
+                DirectoryException
   {
     if (SERVER_STARTED)
     {
@@ -352,6 +353,8 @@
     assertTrue(InvocationCounterPlugin.startupCalled());
 
     SERVER_STARTED = true;
+    
+    initializeTestBackend(true);
   }
 
   /**
@@ -439,7 +442,8 @@
    * @throws  Exception  If an unexpected problem occurs.
    */
   public static void initializeTestBackend(boolean createBaseEntry)
-         throws Exception
+         throws IOException, InitializationException, ConfigException,
+                DirectoryException
   {
     startServer();
 

--
Gitblit v1.10.0