HCOLL-234 fixing CHMUseCaseTest - added a default value provider for sting()

This commit is contained in:
Rob Austin
2014-12-12 12:15:22 +00:00
parent a83b57af96
commit daadb51e83
2 changed files with 61 additions and 64 deletions
@@ -89,7 +89,6 @@ public class CHMUseCasesTest {
public void testCharSequenceCharSequenceMap() throws ExecutionException, InterruptedException {
try (ChronicleMap<CharSequence, CharSequence> map = ChronicleMapBuilder
.of(CharSequence.class, CharSequence.class) // for testing purposes only
.defaultValue("")
.create()) {
map.put("Hello", "World");
StringBuilder key = new StringBuilder();
@@ -688,7 +687,6 @@ public class CHMUseCasesTest {
}
/**
* For unsigned int -> unsigned int entries, the key can be on heap or off heap.
*/
@@ -698,7 +696,6 @@ public class CHMUseCasesTest {
.of(UnsignedIntValue.class, UnsignedIntValue.class)
.create()) {
UnsignedIntValue key1 = map.newKeyInstance();
UnsignedIntValue key2 = map.newKeyInstance();
UnsignedIntValue value1 = map.newValueInstance();