public class TestHttpServerLifecycle extends HttpServerFunctionalTest
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, getServerURL, prepareTestWebapp, readOutput, stop
public void testCreatedServerIsNotAlive() throws Throwable
Throwable
- on failurepublic void testStartedServerIsAlive() throws Throwable
Throwable
- on failurepublic void testStoppedServerIsNotAlive() throws Throwable
Throwable
- on failurepublic void testStoppingTwiceServerIsAllowed() throws Throwable
Throwable
- on failure