Class VisibilityLabelsWithDeletesTestBase
java.lang.Object
org.apache.hadoop.hbase.security.visibility.VisibilityLabelsWithDeletesTestBase
- Direct Known Subclasses:
TestVisibilityLabelsOnNewVersionBehaviorTable,TestVisibilityLabelsWithDeletes
Tests visibility labels with deletes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.apache.hadoop.conf.Configurationprotected static final Stringprotected static final byte[]protected static final Stringprotected static final Stringprotected static final byte[]protected static final byte[]protected static final byte[]protected static final byte[]protected static final byte[]protected static final Stringprotected static org.apache.hadoop.hbase.security.Userprotected static final HBaseTestingUtilprotected static final Stringprotected static final byte[]protected static final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprotected abstract org.apache.hadoop.hbase.client.TablecreateTable(byte[] fam, org.junit.jupiter.api.TestInfo testInfo) private org.apache.hadoop.hbase.client.TablecreateTableAndWriteDataWithLabels(long[] timestamp, org.junit.jupiter.api.TestInfo testInfo, String... labelExps) private org.apache.hadoop.hbase.client.TablecreateTableAndWriteDataWithLabels(org.junit.jupiter.api.TestInfo testInfo, String... labelExps) protected final voidsetAuths()static voidstatic voidvoidtestVisibilityLabelsWithDeleteColumnExactVersion(org.junit.jupiter.api.TestInfo testInfo) voidtestVisibilityLabelsWithDeleteColumns(org.junit.jupiter.api.TestInfo testInfo) voidtestVisibilityLabelsWithDeleteFamily(org.junit.jupiter.api.TestInfo testInfo) voidtestVisibilityLabelsWithDeleteFamilyVersion(org.junit.jupiter.api.TestInfo testInfo)
-
Field Details
-
TOPSECRET
- See Also:
-
PUBLIC
- See Also:
-
PRIVATE
- See Also:
-
CONFIDENTIAL
- See Also:
-
SECRET
- See Also:
-
TEST_UTIL
-
row1
-
row2
-
fam
-
qual
-
qual1
-
qual2
-
value
-
value1
-
conf
-
SUPERUSER
-
-
Constructor Details
-
VisibilityLabelsWithDeletesTestBase
public VisibilityLabelsWithDeletesTestBase()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
addLabels
- Throws:
Exception
-
createTable
protected abstract org.apache.hadoop.hbase.client.Table createTable(byte[] fam, org.junit.jupiter.api.TestInfo testInfo) throws IOException - Throws:
IOException
-
setAuths
- Throws:
IOExceptionInterruptedException
-
createTableAndWriteDataWithLabels
private org.apache.hadoop.hbase.client.Table createTableAndWriteDataWithLabels(org.junit.jupiter.api.TestInfo testInfo, String... labelExps) throws Exception - Throws:
Exception
-
createTableAndWriteDataWithLabels
private org.apache.hadoop.hbase.client.Table createTableAndWriteDataWithLabels(long[] timestamp, org.junit.jupiter.api.TestInfo testInfo, String... labelExps) throws Exception - Throws:
Exception
-
testVisibilityLabelsWithDeleteColumns
@Test public void testVisibilityLabelsWithDeleteColumns(org.junit.jupiter.api.TestInfo testInfo) throws Throwable - Throws:
Throwable
-
testVisibilityLabelsWithDeleteFamily
@Test public void testVisibilityLabelsWithDeleteFamily(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
testVisibilityLabelsWithDeleteFamilyVersion
@Test public void testVisibilityLabelsWithDeleteFamilyVersion(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
testVisibilityLabelsWithDeleteColumnExactVersion
@Test public void testVisibilityLabelsWithDeleteColumnExactVersion(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-