FortranTokenizerTest and RubyTokenizerTest were not inserted correctly in test suite

incorrect token count in RubyTokenizerTest


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5566 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2007-10-24 00:11:56 +00:00
parent a1f1135041
commit b8565167ca
2 changed files with 9 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}