Skip to content

Commit

Permalink
Adding 1.6 valid and invalid test files in the Java tests
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas-Peiffer <[email protected]>
  • Loading branch information
Nicolas-Peiffer committed Jun 13, 2024
1 parent 7c630cc commit 22e0861
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 22e0861

Please sign in to comment.