forked from phoedos/pmd
[groovy] Migrate tests to Junit5
This commit is contained in:
parent
4284583261
commit
f79d2389b0
@ -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>
|
||||
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user