From e81395db12b1d4bd2a1418af09546b810c36b06f Mon Sep 17 00:00:00 2001 From: nimakarimipour Date: Tue, 5 Nov 2024 09:57:49 -0800 Subject: [PATCH] fix test for serialization v4 --- .../src/test/java/com/uber/nullaway/SerializationTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nullaway/src/test/java/com/uber/nullaway/SerializationTest.java b/nullaway/src/test/java/com/uber/nullaway/SerializationTest.java index b3a36b672e..a535ec4cbd 100644 --- a/nullaway/src/test/java/com/uber/nullaway/SerializationTest.java +++ b/nullaway/src/test/java/com/uber/nullaway/SerializationTest.java @@ -31,7 +31,7 @@ import com.uber.nullaway.fixserialization.FixSerializationConfig; import com.uber.nullaway.fixserialization.adapters.SerializationAdapter; import com.uber.nullaway.fixserialization.adapters.SerializationV1Adapter; -import com.uber.nullaway.fixserialization.adapters.SerializationV4Adapter; +import com.uber.nullaway.fixserialization.adapters.SerializationV3Adapter; import com.uber.nullaway.fixserialization.out.FieldInitializationInfo; import com.uber.nullaway.tools.DisplayFactory; import com.uber.nullaway.tools.ErrorDisplay; @@ -63,7 +63,7 @@ public class SerializationTest extends NullAwayTestsBase { private static final String ERROR_FILE_NAME = "errors.tsv"; private static final String ERROR_FILE_HEADER = - new SerializationV4Adapter().getErrorsOutputFileHeader(); + new SerializationV3Adapter().getErrorsOutputFileHeader(); private static final String FIELD_INIT_FILE_NAME = "field_init.tsv"; private static final String FIELD_INIT_HEADER = FieldInitializationInfo.header(); @@ -1380,8 +1380,6 @@ public void verifySerializationVersionIsSerialized() { // Check for serialization version 3 (recall: 2 is skipped and was only used for an alpha // release of auto-annotator). checkVersionSerialization(3); - // Check for serialization version 4. - checkVersionSerialization(4); } @Test