Upgrade to JUnit Jupiter 5.9.0

Closes gh-32351
This commit is contained in:
Stephane Nicoll 2022-09-14 14:16:56 +02:00
parent b4a33e52c1
commit 4f6c3ab2b0
4 changed files with 6 additions and 6 deletions

View File

@ -773,7 +773,7 @@ bom {
]
}
}
library("JUnit Jupiter", "5.8.2") {
library("JUnit Jupiter", "5.9.0") {
group("org.junit") {
imports = [
"junit-bom"

View File

@ -54,7 +54,7 @@ abstract class AbstractLaunchScriptIntegrationTests {
this.scriptsDir = scriptsDir;
}
static List<Object[]> parameters(Predicate<File> osFilter) {
static List<Object[]> filterParameters(Predicate<File> osFilter) {
List<Object[]> parameters = new ArrayList<>();
for (File os : new File("src/intTest/resources/conf").listFiles()) {
if (osFilter.test(os)) {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -39,7 +39,7 @@ class JarLaunchScriptIntegrationTests extends AbstractLaunchScriptIntegrationTes
}
static List<Object[]> parameters() {
return parameters((file) -> true);
return filterParameters((file) -> true);
}
@ParameterizedTest(name = "{0} {1}")

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -43,7 +43,7 @@ class SysVinitLaunchScriptIntegrationTests extends AbstractLaunchScriptIntegrati
}
static List<Object[]> parameters() {
return parameters((file) -> !file.getName().contains("CentOS"));
return filterParameters((file) -> !file.getName().contains("CentOS"));
}
@ParameterizedTest(name = "{0} {1}")