diff --git a/src/main/java/de/tracetronic/jenkins/plugins/ecutest/ETPlugin.java b/src/main/java/de/tracetronic/jenkins/plugins/ecutest/ETPlugin.java index 1efef418..158a138a 100644 --- a/src/main/java/de/tracetronic/jenkins/plugins/ecutest/ETPlugin.java +++ b/src/main/java/de/tracetronic/jenkins/plugins/ecutest/ETPlugin.java @@ -37,7 +37,7 @@ public class ETPlugin { /** * Defines the maximum allowed ECU-TEST version supported by this plugin. */ - public static final ToolVersion ET_MAX_VERSION = new ToolVersion(8, 1, 0); + public static final ToolVersion ET_MAX_VERSION = new ToolVersion(2020, 1, 0); /** * Defines the minimum TEST-GUIDE version supported by this plugin. diff --git a/src/test/java/de/tracetronic/jenkins/plugins/ecutest/util/ToolVersionTest.java b/src/test/java/de/tracetronic/jenkins/plugins/ecutest/util/ToolVersionTest.java index bef620a9..d4548312 100644 --- a/src/test/java/de/tracetronic/jenkins/plugins/ecutest/util/ToolVersionTest.java +++ b/src/test/java/de/tracetronic/jenkins/plugins/ecutest/util/ToolVersionTest.java @@ -35,6 +35,13 @@ public void testParseValidToolVersion() { assertEquals("Check parsed version", expectedToolVersion, parsedToolVersion); } + @Test + public void testParseHighToolVersion() { + final ToolVersion expectedToolVersion = new ToolVersion(1000, 2000, 3000, "4000"); + final ToolVersion parsedToolVersion = ToolVersion.parse("1000.2000.3000.4000"); + assertEquals("Check parsed high version", expectedToolVersion, parsedToolVersion); + } + @Test public void testParseValidHashtagToolVersion() { final ToolVersion expectedToolVersion = new ToolVersion(1, 2, 3, "4");