public class TestRotateFile extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.fs.Path |
dir |
private static org.apache.hadoop.fs.FileSystem |
FS |
org.junit.rules.TestName |
name |
private org.apache.hadoop.hbase.util.RotateFile |
rotateFile |
private static HBaseCommonTestingUtil |
UTIL |
Constructor and Description |
---|
TestRotateFile() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testChecksumMismatch() |
void |
testCompareTimestamp() |
void |
testMaxFileSize() |
void |
testNotEnoughData() |
void |
testSimpleReadWrite() |
public static final HBaseClassTestRule CLASS_RULE
private static HBaseCommonTestingUtil UTIL
private static org.apache.hadoop.fs.FileSystem FS
private org.apache.hadoop.fs.Path dir
private org.apache.hadoop.hbase.util.RotateFile rotateFile
public final org.junit.rules.TestName name
public TestRotateFile()
public static void setUpBeforeClass() throws IOException
IOException
public static void tearDownAfterClass()
public void setUp() throws IOException
IOException
public void testSimpleReadWrite() throws IOException
IOException
public void testCompareTimestamp() throws IOException
IOException
public void testMaxFileSize() throws IOException
IOException
public void testNotEnoughData() throws IOException
IOException
public void testChecksumMismatch() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.