public class TestHttpServerLifecycle extends HttpServerFunctionalTest
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
TEST_BUILD_WEBAPPS| Constructor and Description |
|---|
TestHttpServerLifecycle() |
| Modifier and Type | Method and Description |
|---|---|
void |
testCreatedServerIsNotAlive()
Test that the server is alive once started
|
void |
testStartedServerIsAlive()
Test that the server is alive once started
|
void |
testStoppedServerIsNotAlive()
Test that the server is not alive once stopped
|
void |
testStoppingTwiceServerIsAllowed()
Test that the server is not alive once stopped
|
void |
testStopUnstartedServer() |
void |
testWepAppContextAfterServerStop()
Test that the server is alive once started
|
createAndStartTestServer, createServer, createServer, createServer, createServer, createServer, createTestServer, createTestServer, createTestServer, createTestServer, createTestServerWithSecurity, deleteRecursively, getFreePort, getServerURL, prepareTestWebapp, readOutput, stoppublic void testCreatedServerIsNotAlive()
throws java.lang.Throwable
java.lang.Throwable - on failurepublic void testStopUnstartedServer()
throws java.lang.Throwable
java.lang.Throwablepublic void testStartedServerIsAlive()
throws java.lang.Throwable
java.lang.Throwable - on failurepublic void testStoppedServerIsNotAlive()
throws java.lang.Throwable
java.lang.Throwable - on failurepublic void testStoppingTwiceServerIsAllowed()
throws java.lang.Throwable
java.lang.Throwable - on failurepublic void testWepAppContextAfterServerStop()
throws java.lang.Throwable
java.lang.Throwable - on failure