public class TestConfServlet extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static String |
TEST_KEY |
private static String |
TEST_VAL |
| Constructor and Description |
|---|
TestConfServlet() |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.hadoop.conf.Configuration |
getTestConf() |
void |
testBadFormat() |
void |
testWriteJson() |
void |
testWriteXml() |
public static final HBaseClassTestRule CLASS_RULE
private static final String TEST_KEY
private static final String TEST_VAL
public TestConfServlet()
private org.apache.hadoop.conf.Configuration getTestConf()
public void testWriteJson() throws Exception
Exceptionpublic void testWriteXml() throws Exception
Exceptionpublic void testBadFormat() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.