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
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–2020 The Apache Software Foundation. All rights reserved.