diff options
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/skyframe/serialization/strings/StringCodecTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/skyframe/serialization/strings/StringCodecTest.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/skyframe/serialization/strings/StringCodecTest.java b/src/test/java/com/google/devtools/build/lib/skyframe/serialization/strings/StringCodecTest.java index 8e8b80ea0b..178071c345 100644 --- a/src/test/java/com/google/devtools/build/lib/skyframe/serialization/strings/StringCodecTest.java +++ b/src/test/java/com/google/devtools/build/lib/skyframe/serialization/strings/StringCodecTest.java @@ -14,7 +14,7 @@ package com.google.devtools.build.lib.skyframe.serialization.strings; -import com.google.devtools.build.lib.skyframe.serialization.testutils.ObjectCodecTester; +import com.google.devtools.build.lib.skyframe.serialization.testutils.SerializationTester; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -22,11 +22,9 @@ import org.junit.runners.JUnit4; /** Basic tests for {@link StringCodec}. */ @RunWith(JUnit4.class) public class StringCodecTest { - @Test public void testCodec() throws Exception { - ObjectCodecTester.newBuilder(new StringCodec()) - .addSubjects("usually precomputed and supports weird unicodes: (╯°□°)╯︵┻━┻ ") - .buildAndRunTests(); + new SerializationTester("usually precomputed and supports weird unicodes: (╯°□°)╯︵┻━┻ ") + .runTests(); } } |