From 883c4b7810dcabba4ebe2924ca0757485f5312da Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Fri, 15 Jun 2007 21:55:02 +0000
Subject: [PATCH] - Add a few more unit tests for important classes. This also includes some plumbing for getting the quicksetup tests' workspace server configured enough so that it is startable and stoppable for testing.
---
opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/QuickSetupTestCase.java | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/QuickSetupTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/QuickSetupTestCase.java
index 6c9e7a2..43aa94c 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/QuickSetupTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/QuickSetupTestCase.java
@@ -31,6 +31,8 @@
import org.testng.annotations.AfterSuite;
import org.opends.server.TestCaseUtils;
+import java.io.IOException;
+
/**
*
*/
@@ -41,8 +43,16 @@
TestCaseUtils.suppressOutput();
}
+ @BeforeSuite
+ public final void initServer()
+ throws IOException, ApplicationException, InterruptedException
+ {
+ Utils.initServer();
+ }
+
@AfterSuite
- public final void shutdownServer() {
+ public final void shutdownServer() throws ApplicationException {
+ Utils.stopServer();
TestCaseUtils.unsupressOutput();
}
--
Gitblit v1.10.0