diff options
author | 2018-04-19 10:27:55 -0700 | |
---|---|---|
committer | 2018-04-19 10:30:22 -0700 | |
commit | 9aebb11d3af94648980964596ab7907bf022eaed (patch) | |
tree | d9010bbe9caf240451d571de4557283a1524193c /src/test/java/com/google/devtools | |
parent | 6fcfc537398dd6d1836ef5cd32686d3b74ed088c (diff) |
Introduce NestedSetStore, which persists information used for NestedSet serialization.
PiperOrigin-RevId: 193536486
Diffstat (limited to 'src/test/java/com/google/devtools')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/collect/nestedset/NestedSetCodecTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/collect/nestedset/NestedSetCodecTest.java b/src/test/java/com/google/devtools/build/lib/collect/nestedset/NestedSetCodecTest.java index 1a8ee02fa9..920eec7c55 100644 --- a/src/test/java/com/google/devtools/build/lib/collect/nestedset/NestedSetCodecTest.java +++ b/src/test/java/com/google/devtools/build/lib/collect/nestedset/NestedSetCodecTest.java @@ -52,13 +52,13 @@ public class NestedSetCodecTest { } @Test - public void testCacheBasedCodec() throws Exception { + public void testCodecWithInMemoryNestedSetStore() throws Exception { ObjectCodecs objectCodecs = new ObjectCodecs( AutoRegistry.get() .getBuilder() .setAllowDefaultCodec(true) - .add(new NestedSetCodecWithStore<>()) + .add(new NestedSetCodecWithStore<>(new NestedSetStore())) .build(), ImmutableMap.of()); checkCodec(objectCodecs); |