Package org.apache.hadoop.hbase.io.hfile
Class TestHFileBlockHeaderCorruption.HFileTestRule
java.lang.Object
org.junit.rules.ExternalResource
org.apache.hadoop.hbase.io.hfile.TestHFileBlockHeaderCorruption.HFileTestRule
- All Implemented Interfaces:
org.junit.rules.TestRule
- Enclosing class:
- TestHFileBlockHeaderCorruption
public static class TestHFileBlockHeaderCorruption.HFileTestRule
extends org.junit.rules.ExternalResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.hadoop.hbase.io.hfile.HFileContextprivate final org.apache.hadoop.hbase.fs.HFileSystemprivate org.apache.hadoop.fs.Pathprivate final HBaseTestingUtilprivate final org.junit.rules.TestName -
Constructor Summary
ConstructorsConstructorDescriptionHFileTestRule(HBaseTestingUtil testingUtility, org.junit.rules.TestName testName) -
Method Summary
Methods inherited from class org.junit.rules.ExternalResource
after, apply
-
Field Details
-
testingUtility
-
hfs
-
context
-
testName
-
path
-
-
Constructor Details
-
HFileTestRule
public HFileTestRule(HBaseTestingUtil testingUtility, org.junit.rules.TestName testName) throws IOException - Throws:
IOException
-
-
Method Details
-
getConfiguration
-
getHFileSystem
-
getHFileContext
-
getPath
-
getRWChannel
- Throws:
IOException
-
before
- Overrides:
beforein classorg.junit.rules.ExternalResource- Throws:
Throwable
-