[perl] Migrate tests to Junit5

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

View File

@ -31,8 +31,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,7 +6,7 @@ package net.sourceforge.pmd.lang.perl.cpd;
import java.util.Properties;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.cpd.PerlLanguage;
import net.sourceforge.pmd.cpd.Tokenizer;
@ -15,9 +15,9 @@ import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;
/**
*
*/
public class PerlTokenizerTest extends CpdTextComparisonTest {
class PerlTokenizerTest extends CpdTextComparisonTest {
public PerlTokenizerTest() {
PerlTokenizerTest() {
super(".pl");
}
@ -27,7 +27,7 @@ public class PerlTokenizerTest extends CpdTextComparisonTest {
}
@Test
public void testSample() {
void testSample() {
doTest("sample");
}
}