public class TestBytes extends junit.framework.TestCase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
Constructor and Description |
---|
TestBytes() |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
public static final HBaseClassTestRule CLASS_RULE
public TestBytes()
public void testShortUnsafe() throws Exception
Exception
public void testNullHashCode()
public void testSplit2() throws Exception
Exception
public void testSplit3() throws Exception
Exception
public void testToLong() throws Exception
Exception
public void testToFloat() throws Exception
Exception
public void testToDouble() throws Exception
Exception
public void testToBigDecimal() throws Exception
Exception
private byte[] bytesWithOffset(byte[] src)
public void testToBytesForByteBuffer()
public void testGetBytesForByteBuffer()
public void testReadAsVLong() throws Exception
Exception
public void testToStringBinaryForBytes()
public void testToStringBinaryForArrayBasedByteBuffer()
public void testToStringBinaryForReadOnlyByteBuffer()
public void testBinarySearch() throws Exception
Exception
public void testToStringBytesBinaryReversible()
private void verifyReversibleForBytes(byte[] originalBytes)
public void testStartsWith()
public void testIncrementBytes() throws IOException
IOException
private static boolean checkTestIncrementBytes(long val, long amount) throws IOException
IOException
public void testFixedSizeString() throws IOException
IOException
public void testToBytesBinaryTrailingBackslashes() throws Exception
Exception
public void testToStringBinary_toBytesBinary_Reversable() throws Exception
Exception
public void testUnsignedBinarySearch()
public void testUnsignedIncrement()
public void testIndexOf()
public void testContains()
public void testZero()
public void testPutBuffer()
public void testToFromHex()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.