| | |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2015 ForgeRock AS. |
| | | * Portions Copyright 2026 3A Systems, LLC |
| | | */ |
| | | package org.opends.quicksetup.util; |
| | | |
| | |
| | | * ServerController Tester. |
| | | */ |
| | | @SuppressWarnings("javadoc") |
| | | @Test(groups = {"slow"}) |
| | | @Test(sequential=true) |
| | | public class ServerControllerTest extends QuickSetupTestCase { |
| | | |
| | | private ServerController controller; |
| | |
| | | * Tests ability to stop the server. |
| | | * @throws ApplicationException |
| | | */ |
| | | @Test(enabled = false) |
| | | @Test |
| | | public void testStopServer() throws ApplicationException { |
| | | if (!status.isServerRunning()) { |
| | | controller.startServer(); |
| | |
| | | * Tests ability to start the server. |
| | | * @throws ApplicationException |
| | | */ |
| | | @Test(enabled = false) |
| | | @Test |
| | | public void testStartServer() throws ApplicationException { |
| | | if (status.isServerRunning()) { |
| | | controller.stopServer(); |