Skip to content

Commit

Permalink
Ensure ECU-TEST 2020.1 compatibility (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpoenisch authored Mar 13, 2020
1 parent 8ec503f commit 74a84d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 74a84d8

Please sign in to comment.