Skip to content

Commit

Permalink
tests: Adding 1.6 valid and invalid test files in the Java tests (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkowalleck authored Jun 13, 2024
2 parents 7c630cc + 22e0861 commit b6453dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ List<String> getAllResources() throws Exception {
files.addAll(getResources("1.3/"));
files.addAll(getResources("1.4/"));
files.addAll(getResources("1.5/"));
files.addAll(getResources("1.6/"));
return files;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Collection<DynamicTest> dynamicTestsWithCollection() throws Exception {
schemaVersion = Version.VERSION_14;
} else if (file.endsWith("-1.5.json")) {
schemaVersion = Version.VERSION_15;
} else if (file.endsWith("-1.6.json")) {
schemaVersion = Version.VERSION_16;
} else {
schemaVersion = null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ Collection<DynamicTest> dynamicTestsWithCollection() throws Exception {
schemaVersion = Version.VERSION_14;
} else if (file.endsWith("-1.5.xml")) {
schemaVersion = Version.VERSION_15;
} else if (file.endsWith("-1.6.xml")) {
schemaVersion = Version.VERSION_16;
} else {
schemaVersion = null;
}
Expand Down

0 comments on commit b6453dd

Please sign in to comment.