mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Upgrade to JUnit Jupiter 5.9.0
Closes gh-32351
This commit is contained in:
parent
b4a33e52c1
commit
4f6c3ab2b0
@ -773,7 +773,7 @@ bom {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
library("JUnit Jupiter", "5.8.2") {
|
library("JUnit Jupiter", "5.9.0") {
|
||||||
group("org.junit") {
|
group("org.junit") {
|
||||||
imports = [
|
imports = [
|
||||||
"junit-bom"
|
"junit-bom"
|
||||||
|
@ -54,7 +54,7 @@ abstract class AbstractLaunchScriptIntegrationTests {
|
|||||||
this.scriptsDir = scriptsDir;
|
this.scriptsDir = scriptsDir;
|
||||||
}
|
}
|
||||||
|
|
||||||
static List<Object[]> parameters(Predicate<File> osFilter) {
|
static List<Object[]> filterParameters(Predicate<File> osFilter) {
|
||||||
List<Object[]> parameters = new ArrayList<>();
|
List<Object[]> parameters = new ArrayList<>();
|
||||||
for (File os : new File("src/intTest/resources/conf").listFiles()) {
|
for (File os : new File("src/intTest/resources/conf").listFiles()) {
|
||||||
if (osFilter.test(os)) {
|
if (osFilter.test(os)) {
|
||||||
|
@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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() {
|
static List<Object[]> parameters() {
|
||||||
return parameters((file) -> true);
|
return filterParameters((file) -> true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ParameterizedTest(name = "{0} {1}")
|
@ParameterizedTest(name = "{0} {1}")
|
||||||
|
@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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() {
|
static List<Object[]> parameters() {
|
||||||
return parameters((file) -> !file.getName().contains("CentOS"));
|
return filterParameters((file) -> !file.getName().contains("CentOS"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ParameterizedTest(name = "{0} {1}")
|
@ParameterizedTest(name = "{0} {1}")
|
||||||
|
Loading…
Reference in New Issue
Block a user