[fortran] Migrate tests to Junit5
This commit is contained in:
parent
378c77f60f
commit
9f340bd1c0
@ -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>
|
||||
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user