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, stopassertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, failpublic static final HBaseClassTestRule CLASS_RULE
public TestHttpServerLifecycle()
public void testCreatedServerIsNotAlive() throws Throwable
Throwable - on failurepublic void testStopUnstartedServer() throws Throwable
Throwablepublic void testStartedServerIsAlive() throws Throwable
Throwable - on failurepublic void testStoppedServerIsNotAlive() throws Throwable
Throwable - on failurepublic void testStoppingTwiceServerIsAllowed() throws Throwable
Throwable - on failurepublic void testWepAppContextAfterServerStop() throws Throwable
Throwable - on failureCopyright © 2007–2019 Cloudera. All rights reserved.