Package org.apache.hadoop.hbase.util
Class BytesTestBase
java.lang.Object
org.apache.hadoop.hbase.util.BytesTestBase
- Direct Known Subclasses:
TestBytes
,TestBytesWoUnsafe
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate byte[]
bytesWithOffset
(byte[] src) private static boolean
checkTestIncrementBytes
(long val, long amount) void
testAdd()
void
void
void
testCopy()
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
testZero()
private void
verifyReversibleForBytes
(byte[] originalBytes)
-
Field Details
-
LOG
-
-
Constructor Details
-
BytesTestBase
public BytesTestBase()
-
-
Method Details
-
testShort
- Throws:
Exception
-
testNullHashCode
-
testAdd
-
testSplit
-
testSplit2
-
testSplit3
-
testToInt
-
testToLong
-
testToFloat
-
testToDouble
-
testToBigDecimal
-
bytesWithOffset
-
testToBytesForByteBuffer
-
testGetBytesForByteBuffer
-
testReadAsVLong
- Throws:
Exception
-
testToStringBinaryForBytes
-
testToStringBinaryForArrayBasedByteBuffer
-
testToStringBinaryForReadOnlyByteBuffer
-
testBinarySearch
-
testToStringBytesBinaryReversible
-
verifyReversibleForBytes
-
testStartsWith
-
testIncrementBytes
-
checkTestIncrementBytes
-
testFixedSizeString
- Throws:
IOException
-
testCopy
-
testToBytesBinaryTrailingBackslashes
-
testToStringBinary_toBytesBinary_Reversable
-
testUnsignedBinarySearch
-
testUnsignedIncrement
-
testIndexOf
-
testContains
-
testZero
-
testPutBuffer
-
testToFromHex
-
testFindCommonPrefix
- Throws:
Exception
-