JAVA-22625 Removed junit4 engine (#14368)

This commit is contained in:
Dhawal Kapil 2023-07-06 13:02:53 +05:30 committed by GitHub
parent 120a6c152a
commit 6f905048c4
2 changed files with 23 additions and 3 deletions

View File

@ -19,6 +19,16 @@
<artifactId>jansi</artifactId> <artifactId>jansi</artifactId>
<version>2.4.0</version> <version>2.4.0</version>
</dependency> </dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies> </dependencies>
<build> <build>
@ -70,6 +80,16 @@
<target>${target.version}</target> <target>${target.version}</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<excludeJUnit5Engines>
<engine>junit-vintage-engine</engine>
</excludeJUnit5Engines>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>

View File

@ -1,11 +1,11 @@
package com.baeldung.asciiart; package com.baeldung.asciiart;
import com.baeldung.asciiart.AsciiArt.Settings; import java.awt.Font;
import java.awt.*;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import com.baeldung.asciiart.AsciiArt.Settings;
public class AsciiArtIntegrationTest { public class AsciiArtIntegrationTest {
@Test @Test