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
Exception
public static void tearDownAfterClass() throws Exception
Exception
private static void validate(org.apache.hadoop.hbase.rest.model.VersionModel model)
public void testGetStargateVersionText() throws IOException
IOException
public void testGetStargateVersionXML() throws IOException, JAXBException
IOException
JAXBException
public void testGetStargateVersionJSON() throws IOException
IOException
public void testGetStargateVersionPB() throws IOException
IOException
public void testGetStorageClusterVersionText() throws IOException
IOException
public void testGetStorageClusterVersionXML() throws IOException, JAXBException
IOException
JAXBException
public void testGetStorageClusterVersionJSON() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.