From 111e6197a30e4fe3fd68a40c2e5f30d6eb2b4236 Mon Sep 17 00:00:00 2001 From: Andreas Schnaiter Date: Tue, 7 Aug 2018 18:34:10 +0200 Subject: [PATCH 1/4] disable doclint --- pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pom.xml b/pom.xml index c6bf4a9..bd84d7a 100644 --- a/pom.xml +++ b/pom.xml @@ -140,6 +140,9 @@ + + -Xdoclint:none + From 0a6fd329a939d897097d06d0d703cef4a9cc5340 Mon Sep 17 00:00:00 2001 From: Andreas Schnaiter Date: Tue, 7 Aug 2018 18:56:59 +0200 Subject: [PATCH 2/4] java8 needs newer antlr version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bd84d7a..d6e21a0 100644 --- a/pom.xml +++ b/pom.xml @@ -71,7 +71,7 @@ org.antlr antlr3-maven-plugin - 3.3 + 3.5.2 generate-sources From 2930d4c6ad4f53677dc3b3b23a67a5c4faf264ce Mon Sep 17 00:00:00 2001 From: Andreas Schnaiter Date: Tue, 7 Aug 2018 18:57:39 +0200 Subject: [PATCH 3/4] ignore test that is platform dependent (path separator) --- .../src/test/java/com/technofovea/hl2parse/vdf/ParseTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hl2parse-tests/src/test/java/com/technofovea/hl2parse/vdf/ParseTest.java b/hl2parse-tests/src/test/java/com/technofovea/hl2parse/vdf/ParseTest.java index fa33e58..689df66 100644 --- a/hl2parse-tests/src/test/java/com/technofovea/hl2parse/vdf/ParseTest.java +++ b/hl2parse-tests/src/test/java/com/technofovea/hl2parse/vdf/ParseTest.java @@ -27,8 +27,8 @@ import org.antlr.runtime.ANTLRInputStream; import org.antlr.runtime.CommonTokenStream; import org.antlr.runtime.RecognitionException; -import org.apache.log4j.Level; import org.junit.Assert; +import org.junit.Ignore; import org.junit.Test; /** @@ -88,6 +88,7 @@ public void testTf2GameInfo() throws Exception { } + @Ignore @Test public void testOrangeboxSdkConfig() throws Exception { final String TITLE_EP2 = "Half-Life 2: Episode Two"; From e1fc85e2977842910f9a9b013d59398472d06e59 Mon Sep 17 00:00:00 2001 From: Andreas Schnaiter Date: Tue, 7 Aug 2018 18:58:14 +0200 Subject: [PATCH 4/4] ignore tests which rely on local data --- .../com/technofovea/hl2parse/registry/ClientRegistryTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hl2parse-tests/src/test/java/com/technofovea/hl2parse/registry/ClientRegistryTest.java b/hl2parse-tests/src/test/java/com/technofovea/hl2parse/registry/ClientRegistryTest.java index 72f27d6..f14c0e7 100644 --- a/hl2parse-tests/src/test/java/com/technofovea/hl2parse/registry/ClientRegistryTest.java +++ b/hl2parse-tests/src/test/java/com/technofovea/hl2parse/registry/ClientRegistryTest.java @@ -48,6 +48,7 @@ public void setup() throws Exception { cachedAppNames.clear(); } + @Ignore @Test public void parseClientRegistry() throws Exception { @@ -61,6 +62,7 @@ public void parseClientRegistry() throws Exception { Assert.assertEquals("TopKey", root.getName()); } + @Ignore @Test public void getContentDescriptionRecord() throws BlobParseFailure, IOException { ByteBuffer buf = ParseUtil.mapFile(BLOB_SOURCE); @@ -76,6 +78,7 @@ public void getContentDescriptionRecord() throws BlobParseFailure, IOException { } + @Ignore @Test public void getAppDependencies() throws Exception {