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
IOException
public void testReadFully() throws IOException
IOException
public void testReadWithExtra() throws IOException
IOException
public void testPositionalReadNoExtra() throws IOException
IOException
public void testPositionalReadShortReadOfNecessaryBytes() throws IOException
IOException
public void testPositionalReadExtraSucceeded() throws IOException
IOException
public void testPositionalReadExtraFailed() throws IOException
IOException
public void testPositionalReadShortReadCompletesNecessaryAndExtraBytes() throws IOException
IOException
public void testPositionalReadPrematureEOF() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.