public class TestBlockIOUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.ExpectedException |
exception |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestBlockIOUtils() |
| Modifier and Type | Method and Description |
|---|---|
void |
testIsByteBufferReadable() |
void |
testPositionalReadExtraFailed() |
void |
testPositionalReadExtraSucceeded() |
void |
testPositionalReadNoExtra() |
void |
testPositionalReadPrematureEOF() |
void |
testPositionalReadShortReadCompletesNecessaryAndExtraBytes() |
void |
testPositionalReadShortReadOfNecessaryBytes() |
void |
testReadFully() |
void |
testReadWithExtra() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.ExpectedException exception
private static final HBaseTestingUtility TEST_UTIL
public TestBlockIOUtils()
public void testIsByteBufferReadable() throws IOException
IOExceptionpublic void testReadFully() throws IOException
IOExceptionpublic void testReadWithExtra() throws IOException
IOExceptionpublic void testPositionalReadNoExtra() throws IOException
IOExceptionpublic void testPositionalReadShortReadOfNecessaryBytes() throws IOException
IOExceptionpublic void testPositionalReadExtraSucceeded() throws IOException
IOExceptionpublic void testPositionalReadExtraFailed() throws IOException
IOExceptionpublic void testPositionalReadShortReadCompletesNecessaryAndExtraBytes() throws IOException
IOExceptionpublic void testPositionalReadPrematureEOF() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.