public abstract class KVTestSupport extends TestSupport
log, random, validator| Constructor and Description |
|---|
KVTestSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected static KVPair |
kv(String... key) |
protected String |
s(KVPair pair) |
protected Exception |
showKV(KVTransaction tx,
String label)
Dump KV contents to the log.
|
protected Exception |
showKV(KVTransaction tx,
String label,
byte[] minKey,
byte[] maxKey)
Dump KV portion to the log.
|
static NavigableMap<String,String> |
stringView(NavigableMap<byte[],byte[]> byteMap) |
static NavigableSet<String> |
stringView(NavigableSet<byte[]> byteSet) |
b, ba, buildList, buildMap, buildSet, buildSortedMap, buildSortedSet, checkMap, checkSet, checkValid, createTempDirectory, deleteDirectoryHierarchy, getRandom, randomBytes, readResource, readResource, readResource, s, seedRandom, setUpValidator, showprotected Exception showKV(KVTransaction tx, String label)
tx - transactionlabel - descriptive labelprotected Exception showKV(KVTransaction tx, String label, byte[] minKey, byte[] maxKey)
tx - transactionlabel - descriptive labelminKey - minimum keymaxKey - maximum keypublic static NavigableMap<String,String> stringView(NavigableMap<byte[],byte[]> byteMap)
public static NavigableSet<String> stringView(NavigableSet<byte[]> byteSet)
Copyright © 2017. All rights reserved.