public class TestJMXJsonServlet extends HttpServerFunctionalTest
Modifier and Type | Field and Description |
---|---|
private static URL |
baseUrl |
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.hbase.http.HttpServer |
server |
TEST_BUILD_WEBAPPS
Constructor and Description |
---|
TestJMXJsonServlet() |
Modifier and Type | Method and Description |
---|---|
static void |
assertNotFind(String re,
String value) |
static void |
assertReFind(String re,
String value) |
static void |
cleanup() |
static void |
setup() |
void |
testDisallowedJSONPCallback() |
void |
testGetPattern() |
void |
testPatternMatching() |
void |
testQuery() |
void |
testUnderscoresInJSONPCallback() |
access, createAndStartTestServer, createServer, createServer, createServer, createServer, createServer, createTestServer, createTestServer, createTestServer, createTestServer, createTestServerWithSecurity, createTestServerWithSecurityAndAcl, deleteRecursively, getFreePort, getServerURL, prepareTestWebapp, readOutput, stop
assertArrayEquals, 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, assertThrows, assertThrows, assertTrue, assertTrue, fail, fail
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static org.apache.hadoop.hbase.http.HttpServer server
public TestJMXJsonServlet()
public static void assertReFind(String re, String value)
public static void assertNotFind(String re, String value)
public void testGetPattern() throws Exception
Exception
public void testPatternMatching() throws Exception
Exception
public void testDisallowedJSONPCallback() throws Exception
Exception
public void testUnderscoresInJSONPCallback() throws Exception
Exception
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.