public class TestVersionResource extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.rest.client.Client |
client |
private static JAXBContext |
context |
private static org.slf4j.Logger |
LOG |
private static HBaseRESTTestingUtility |
REST_TEST_UTIL |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestVersionResource() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testGetStargateVersionJSON() |
void |
testGetStargateVersionPB() |
void |
testGetStargateVersionText() |
void |
testGetStargateVersionXML() |
void |
testGetStorageClusterVersionJSON() |
void |
testGetStorageClusterVersionText() |
void |
testGetStorageClusterVersionXML() |
private static void |
validate(org.apache.hadoop.hbase.rest.model.VersionModel model) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static final HBaseRESTTestingUtility REST_TEST_UTIL
private static org.apache.hadoop.hbase.rest.client.Client client
private static JAXBContext context
public TestVersionResource()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionprivate static void validate(org.apache.hadoop.hbase.rest.model.VersionModel model)
public void testGetStargateVersionText() throws IOException
IOExceptionpublic void testGetStargateVersionXML() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testGetStargateVersionJSON() throws IOException
IOExceptionpublic void testGetStargateVersionPB() throws IOException
IOExceptionpublic void testGetStorageClusterVersionText() throws IOException
IOExceptionpublic void testGetStorageClusterVersionXML() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testGetStorageClusterVersionJSON() throws IOException
IOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.