public class TestImmutableBytesWritable extends junit.framework.TestCase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
Constructor and Description |
---|
TestImmutableBytesWritable() |
Modifier and Type | Method and Description |
---|---|
private void |
doComparisonsOnObjects(org.apache.hadoop.hbase.io.ImmutableBytesWritable a,
org.apache.hadoop.hbase.io.ImmutableBytesWritable b,
int expectedSignum) |
private void |
doComparisonsOnRaw(org.apache.hadoop.hbase.io.ImmutableBytesWritable a,
org.apache.hadoop.hbase.io.ImmutableBytesWritable b,
int expectedSignum) |
private void |
runTests(String aStr,
String bStr,
int signum) |
private int |
signum(int i) |
void |
testComparison() |
void |
testHash() |
void |
testSpecificCompare() |
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 TestImmutableBytesWritable()
public void testSpecificCompare()
public void testComparison() throws Exception
Exception
private void runTests(String aStr, String bStr, int signum) throws Exception
Exception
private int signum(int i)
private void doComparisonsOnRaw(org.apache.hadoop.hbase.io.ImmutableBytesWritable a, org.apache.hadoop.hbase.io.ImmutableBytesWritable b, int expectedSignum) throws IOException
IOException
private void doComparisonsOnObjects(org.apache.hadoop.hbase.io.ImmutableBytesWritable a, org.apache.hadoop.hbase.io.ImmutableBytesWritable b, int expectedSignum)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.