[groovy] Migrate tests to Junit5

This commit is contained in:
Andreas Dangel 2022-07-07 17:23:37 +02:00
parent 4284583261
commit f79d2389b0
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3
2 changed files with 6 additions and 6 deletions

View File

@ -36,8 +36,8 @@
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>

View File

@ -6,13 +6,13 @@ package net.sourceforge.pmd.cpd;
import java.util.Properties;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;
public class GroovyTokenizerTest extends CpdTextComparisonTest {
class GroovyTokenizerTest extends CpdTextComparisonTest {
public GroovyTokenizerTest() {
GroovyTokenizerTest() {
super(".groovy");
}
@ -27,7 +27,7 @@ public class GroovyTokenizerTest extends CpdTextComparisonTest {
}
@Test
public void testSample() {
void testSample() {
doTest("sample");
}
}