public class TestLRUDictionary extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) org.apache.hadoop.hbase.io.util.LRUDictionary |
testee |
Constructor and Description |
---|
TestLRUDictionary() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
isDictionaryEmpty(org.apache.hadoop.hbase.io.util.LRUDictionary dict) |
void |
setUp() |
void |
testBasic() |
void |
TestContainsNothing() |
void |
TestLRUPolicy() |
void |
testPassingEmptyArrayToFindEntry()
Assert can't add empty array.
|
void |
testPassingSameArrayToAddEntry() |
public static final HBaseClassTestRule CLASS_RULE
org.apache.hadoop.hbase.io.util.LRUDictionary testee
public TestLRUDictionary()
public void TestContainsNothing()
public void testPassingEmptyArrayToFindEntry()
public void testPassingSameArrayToAddEntry()
public void testBasic()
public void TestLRUPolicy()
private static boolean isDictionaryEmpty(org.apache.hadoop.hbase.io.util.LRUDictionary dict)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.