Validate our own tests work with JUnit5 and the vintage engine
Closes gh-14737 Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
This commit is contained in:
committed by
Stephane Nicoll
parent
d9f339a1b6
commit
1db1c8b03c
@@ -21,7 +21,7 @@ import java.io.FileFilter;
|
||||
import java.io.InputStreamReader;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.boot.loader.tools.JavaExecutable;
|
||||
import org.springframework.util.FileCopyUtils;
|
||||
@@ -37,7 +37,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
public class SampleAntApplicationIT {
|
||||
|
||||
@Test
|
||||
public void runJar() throws Exception {
|
||||
void runJar() throws Exception {
|
||||
File target = new File("target");
|
||||
File[] jarFiles = target.listFiles(new FileFilter() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user