From 36ab978c97855c1e691b167bcd89dfb3be9525e5 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.
---
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java
index cc88ab1..b03fefa 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java
@@ -271,7 +271,8 @@
throw new UserDataException(cStep,
getThrowableMsg("bug-msg", t));
}
- return CurrentInstallStatus.isServerRunning();
+ Status status = Installation.getLocal().getStatus();
+ return status.isServerRunning();
}
public void backgroundTaskCompleted(Object returnValue,
@@ -812,7 +813,7 @@
// Just tell that the file/directory does not exist.
String[] arg = {file.toString()};
notifyListeners(getFormattedWarning(
- getMsg("deleting-file-does-not-exist", arg)));
+ getMsg("progress-deleting-file-does-not-exist", arg)));
}
}
--
Gitblit v1.10.0