mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
21.29.2015 3b43b7b210f8ffa68ab6decc9f2bc3f446a0f83e
opendj-server-legacy/src/test/java/org/opends/quicksetup/util/ServerControllerTest.java
@@ -26,7 +26,7 @@
 */
package org.opends.quicksetup.util;
import static junit.framework.Assert.*;
import static org.testng.Assert.*;
import org.opends.quicksetup.ApplicationException;
import org.opends.quicksetup.Installation;
@@ -39,11 +39,12 @@
/**
 * ServerController Tester.
 */
@SuppressWarnings("javadoc")
@Test(groups = {"slow"})
public class ServerControllerTest extends QuickSetupTestCase {
  ServerController controller;
  Status status;
  private ServerController controller;
  private Status status;
  @BeforeClass
  public void setUp() throws Exception {
@@ -63,7 +64,7 @@
    }
    assertTrue(status.isServerRunning());
    controller.stopServer();
    assertTrue(!status.isServerRunning());
    assertFalse(status.isServerRunning());
  }
  /**
@@ -75,9 +76,8 @@
    if (status.isServerRunning()) {
      controller.stopServer();
    }
    assertTrue(!status.isServerRunning());
    assertFalse(status.isServerRunning());
    controller.startServer();
    assertTrue(status.isServerRunning());
  }
}