Skip to content

Commit

Permalink
Upgrade to JUnit 4.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Oct 11, 2020
1 parent 5fc06c3 commit 8622b6d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ org.gradle.parallel=true
# Dependencies
apiguardian.version=1.1.0
assertj.version=3.16.1
junit4.version=4.13
junit4.version=4.13.1
junit4Min.version=4.12
opentest4j.version=1.2.0
picocli.version=4.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class JUnit4VersionCheckTests {
void handlesParsingSupportedVersionIdWithStandardVersionFormat() {
assertDoesNotThrow(() -> JUnit4VersionCheck.checkSupported(() -> "4.12"));
assertDoesNotThrow(() -> JUnit4VersionCheck.checkSupported(() -> "4.13"));
assertDoesNotThrow(() -> JUnit4VersionCheck.checkSupported(() -> "4.13.1"));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private static List<String> compile(Path temp, Writer out, Writer err) throws Ex
args.add(temp.resolve("destination").toString());

var lib = Files.createDirectories(temp.resolve("lib"));
Helper.load(lib, "junit", "junit", Helper.version("junit4", "4.13"));
Helper.load(lib, "junit", "junit", Helper.version("junit4", "4.13.1"));
Helper.load(lib, "org.assertj", "assertj-core", Helper.version("assertJ", "3.14.0"));
Helper.load(lib, "org.apiguardian", "apiguardian-api", Helper.version("apiGuardian", "1.1.0"));
Helper.load(lib, "org.hamcrest", "hamcrest", Helper.version("hamcrest", "2.2"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void unsupportedVersion() {
}

@ParameterizedTest(name = "{0}")
@ValueSource(strings = { "4.12", "4.13" })
@ValueSource(strings = { "4.12", "4.13.1" })
void supportedVersions(String version) {
Result result = run(version);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void unsupportedVersion() {
}

@ParameterizedTest(name = "{0}")
@ValueSource(strings = { "4.12", "4.13" })
@ValueSource(strings = { "4.12", "4.13.1" })
void supportedVersions(String version) {
Result result = run(version);

Expand Down

0 comments on commit 8622b6d

Please sign in to comment.