diff --git a/pmd/regress/test/net/sourceforge/pmd/cpd/FortranTokenizerTest.java b/pmd/regress/test/net/sourceforge/pmd/cpd/FortranTokenizerTest.java index 9e004ef876..f3e91ab95c 100644 --- a/pmd/regress/test/net/sourceforge/pmd/cpd/FortranTokenizerTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/cpd/FortranTokenizerTest.java @@ -203,4 +203,8 @@ public class FortranTokenizerTest extends AbstractTokenizerTest { this.expectedTokenCount = 434; super.tokenizeTest(); } + + public static junit.framework.Test suite() { + return new junit.framework.JUnit4TestAdapter(FortranTokenizerTest.class); + } } diff --git a/pmd/regress/test/net/sourceforge/pmd/cpd/RubyTokenizerTest.java b/pmd/regress/test/net/sourceforge/pmd/cpd/RubyTokenizerTest.java index 02a4daa485..3c5fd28ca5 100644 --- a/pmd/regress/test/net/sourceforge/pmd/cpd/RubyTokenizerTest.java +++ b/pmd/regress/test/net/sourceforge/pmd/cpd/RubyTokenizerTest.java @@ -14,8 +14,6 @@ import test.net.sourceforge.pmd.testframework.AbstractTokenizerTest; public class RubyTokenizerTest extends AbstractTokenizerTest { - - @Before @Override public void buildTokenizer() { @@ -50,7 +48,11 @@ public class RubyTokenizerTest extends AbstractTokenizerTest { @Test public void tokenizeTest() throws IOException { - this.expectedTokenCount = 29; + this.expectedTokenCount = 30; super.tokenizeTest(); } + + public static junit.framework.Test suite() { + return new junit.framework.JUnit4TestAdapter(RubyTokenizerTest.class); + } }