From 80c58327faaa4873369f6bb949e62792c2f708e0 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Wed, 15 Aug 2007 21:34:53 +0000
Subject: [PATCH] This commit is a step toward getting OpenDS internationalized. There are still issues to be resolved before we can declare that we are internationalized but this commit covers the bulk of changes needed at this time.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 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 4b4fd6c..cd9807f 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
@@ -84,6 +84,7 @@
 import static org.opends.server.util.StaticUtils.*;
 import org.opends.server.tasks.TaskUtils;
 import org.opends.server.api.WorkQueue;
+import org.opends.messages.Message;
 
 /**
  * This class defines some utility functions which can be used by test
@@ -396,6 +397,15 @@
    */
   public static void shutdownServer(String reason)
   {
+    shutdownServer(Message.raw(reason));
+  }
+
+  /**
+   * Shut down the server, if it has been started.
+   * @param reason The reason for the shutdown.
+   */
+  public static void shutdownServer(Message reason)
+  {
     if (SERVER_STARTED)
     {
       InvocationCounterPlugin.resetShutdownCalled();

--
Gitblit v1.10.0