public class TestTableName extends org.junit.rules.TestWatcher
byte[]
containing the name of the currently running test method.Modifier and Type | Class and Description |
---|---|
(package private) static class |
TestTableName.Names |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) String[] |
emptyNames |
(package private) String[] |
illegalTableNames |
(package private) String[] |
invalidNamespace |
(package private) String[] |
legalTableNames |
(package private) TestTableName.Names[] |
names |
private org.apache.hadoop.hbase.TableName |
tableName |
Constructor and Description |
---|
TestTableName() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.TableName |
getTableName() |
protected void |
starting(org.junit.runner.Description description)
Invoked when a test is about to start
|
void |
testEmptyNamespaceName() |
void |
testEmptyTableName() |
void |
testIllegalHTableNames() |
void |
testInvalidNamespace() |
void |
testLegalHTableNames() |
void |
testValueOf() |
private org.apache.hadoop.hbase.TableName |
validateNames(org.apache.hadoop.hbase.TableName expected,
TestTableName.Names names) |
public static final HBaseClassTestRule CLASS_RULE
private org.apache.hadoop.hbase.TableName tableName
String[] emptyNames
String[] invalidNamespace
String[] legalTableNames
String[] illegalTableNames
TestTableName.Names[] names
public TestTableName()
protected void starting(org.junit.runner.Description description)
starting
in class org.junit.rules.TestWatcher
public org.apache.hadoop.hbase.TableName getTableName()
public void testInvalidNamespace()
public void testEmptyNamespaceName()
public void testEmptyTableName()
public void testLegalHTableNames()
public void testIllegalHTableNames()
public void testValueOf()
private org.apache.hadoop.hbase.TableName validateNames(org.apache.hadoop.hbase.TableName expected, TestTableName.Names names)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.