From 1f0dc4a22dbfb54e350c966215bc30e385129366 Mon Sep 17 00:00:00 2001
From: el_kaboing <el_kaboing@localhost>
Date: Tue, 12 Sep 2006 20:40:56 +0000
Subject: [PATCH] Fixed some boo-boos and missed files for JavaDocs.
---
opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSMgr.java | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSMgr.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSMgr.java
index 9709bf3..7b57d87 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSMgr.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/OpenDSMgr.java
@@ -29,18 +29,28 @@
import java.io.*;
import org.opends.server.tools.StopDS;
+/**
+ * This class manages the starting and stopping OpenDS.
+ * This class is used for the Integration Tests on Windows platforms.
+ */
public class OpenDSMgr
extends Thread
{
private String dsee_home;
private String port;
+ /**
+ * Creates a new OpenDSMgr..
+ */
public OpenDSMgr(String in_dsee_home, String in_port)
{
dsee_home = in_dsee_home;
port = in_port;
}
+ /**
+ * Starts a new thread to start OpenDS.
+ */
public void run()
{
try
@@ -53,6 +63,9 @@
}
}
+ /**
+ * Starts OpenDS in a new thread.
+ */
public void startDS() throws Exception
{
String osName = new String(System.getProperty("os.name"));
@@ -61,7 +74,6 @@
if (osName.indexOf("Windows") >= 0) // For Windows
{
exec_cmd = "CMD /C " + dsee_home + "\\bin\\start-ds";
- System.out.println(exec_cmd);
}
else
{
--
Gitblit v1.10.0