[fortran] Migrate tests to Junit5

This commit is contained in:
Andreas Dangel 2022-07-07 17:20:58 +02:00
parent 378c77f60f
commit 9f340bd1c0
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.cpd;
import java.util.Properties;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;
@ -14,9 +14,9 @@ import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;
* @author rpelisse
*
*/
public class FortranTokenizerTest extends CpdTextComparisonTest {
class FortranTokenizerTest extends CpdTextComparisonTest {
public FortranTokenizerTest() {
FortranTokenizerTest() {
super(".for");
}
@ -31,7 +31,7 @@ public class FortranTokenizerTest extends CpdTextComparisonTest {
}
@Test
public void testSample() {
void testSample() {
doTest("sample");
}
}