[fortran] Migrate tests to Junit5
This commit is contained in:
parent
378c77f60f
commit
9f340bd1c0
@ -31,8 +31,8 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>org.junit.jupiter</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit-jupiter</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -6,7 +6,7 @@ package net.sourceforge.pmd.cpd;
|
|||||||
|
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;
|
import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;
|
||||||
|
|
||||||
@ -14,9 +14,9 @@ import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;
|
|||||||
* @author rpelisse
|
* @author rpelisse
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class FortranTokenizerTest extends CpdTextComparisonTest {
|
class FortranTokenizerTest extends CpdTextComparisonTest {
|
||||||
|
|
||||||
public FortranTokenizerTest() {
|
FortranTokenizerTest() {
|
||||||
super(".for");
|
super(".for");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ public class FortranTokenizerTest extends CpdTextComparisonTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSample() {
|
void testSample() {
|
||||||
doTest("sample");
|
doTest("sample");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user