public class TableNameTestRule extends org.junit.rules.TestWatcher
TableName
based on currently running test method name. Supports
tests built on the Parameterized
runner.Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.TableName |
tableName |
Constructor and Description |
---|
TableNameTestRule() |
Modifier and Type | Method and Description |
---|---|
private static String |
cleanUpTestName(String methodName)
Helper to handle parameterized method names.
|
org.apache.hadoop.hbase.TableName |
getTableName() |
protected void |
starting(org.junit.runner.Description description) |
private org.apache.hadoop.hbase.TableName tableName
public TableNameTestRule()
protected void starting(org.junit.runner.Description description)
starting
in class org.junit.rules.TestWatcher
private static String cleanUpTestName(String methodName)
public org.apache.hadoop.hbase.TableName getTableName()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.