diff --git a/gradle.properties b/gradle.properties index 8942b741e170..014e0f3ad274 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/junit-vintage-engine/src/test/java/org/junit/vintage/engine/JUnit4VersionCheckTests.java b/junit-vintage-engine/src/test/java/org/junit/vintage/engine/JUnit4VersionCheckTests.java index 128873f1d85f..71cbb385bd53 100644 --- a/junit-vintage-engine/src/test/java/org/junit/vintage/engine/JUnit4VersionCheckTests.java +++ b/junit-vintage-engine/src/test/java/org/junit/vintage/engine/JUnit4VersionCheckTests.java @@ -31,6 +31,7 @@ class JUnit4VersionCheckTests { void handlesParsingSupportedVersionIdWithStandardVersionFormat() { assertDoesNotThrow(() -> JUnit4VersionCheck.checkSupported(() -> "4.12")); assertDoesNotThrow(() -> JUnit4VersionCheck.checkSupported(() -> "4.13")); + assertDoesNotThrow(() -> JUnit4VersionCheck.checkSupported(() -> "4.13.1")); } /** diff --git a/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/ModularUserGuideTests.java b/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/ModularUserGuideTests.java index 248b72755035..ed63c9c080d4 100644 --- a/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/ModularUserGuideTests.java +++ b/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/ModularUserGuideTests.java @@ -69,7 +69,7 @@ private static List 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")); diff --git a/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/VintageGradleIntegrationTests.java b/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/VintageGradleIntegrationTests.java index 56c6bcf195f6..8a8b0c538480 100644 --- a/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/VintageGradleIntegrationTests.java +++ b/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/VintageGradleIntegrationTests.java @@ -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); diff --git a/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/VintageMavenIntegrationTests.java b/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/VintageMavenIntegrationTests.java index d396beaaf5b8..6f50e1b217ce 100644 --- a/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/VintageMavenIntegrationTests.java +++ b/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/VintageMavenIntegrationTests.java @@ -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);