removing old code thx to JUnit 3.8.1

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@970 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2002-09-23 14:56:48 +00:00
parent a9307c7624
commit 38fa2e84fb
15 changed files with 1 additions and 50 deletions

View File

@ -7,8 +7,6 @@ import junit.framework.*;
public class AccessNodeTest
extends TestCase
{
public AccessNodeTest( String name ) { super( name ); }
public void testStatic() {
AccessNode node = new AccessNode( 1 );

View File

@ -8,9 +8,6 @@ import net.sourceforge.pmd.ast.*;
public class ClassDeclTest
extends ParserTst
{
public ClassDeclTest( String name ) {
super( name );
}
public void testPublic()
throws Throwable

View File

@ -8,10 +8,6 @@ import net.sourceforge.pmd.ast.*;
public class FieldDeclTest
extends ParserTst
{
public FieldDeclTest( String name ) {
super( name );
}
public String makeAccessJavaCode( String access[] ) {
String RC =
"public class Test { ";

View File

@ -14,11 +14,7 @@ import net.sourceforge.pmd.ast.*;
public class MethodDeclTest
extends ParserTst
{
public MethodDeclTest( String name ) {
super( name );
}
public void testPublic()
public void testPublic()
throws Throwable
{
String access[] = { "public" };

View File

@ -49,10 +49,6 @@ public class ParserTst
}
}
public ParserTst( String testName ) {
super( testName );
}
public Set getNodes( Class clazz,
String javaCode )
throws Throwable

View File

@ -8,9 +8,6 @@ import java.util.Iterator;
public class SimpleNodeTest
extends ParserTst
{
public SimpleNodeTest( String name ) {
super( name );
}
public void testMethodDiffLines()
throws Throwable

View File

@ -13,9 +13,6 @@ import java.util.List;
import java.util.ArrayList;
public class CPDTest extends TestCase{
public CPDTest(String name) {
super(name);
}
public void testBasic() throws Throwable {
CPD cpd = new CPD();

View File

@ -11,9 +11,6 @@ import net.sourceforge.pmd.cpd.*;
import java.util.Iterator;
public class GSTTest extends TestCase {
public GSTTest(String name) {
super(name);
}
public void test1() {
TokenList ts1 = GSTTest.createHelloTokenSet("foo");

View File

@ -17,10 +17,6 @@ public class JavaTokensTokenizerTest extends TestCase {
private static final String EOL = System.getProperty("line.separator", "\n");
public JavaTokensTokenizerTest(String name) {
super(name);
}
public void test1() throws Throwable {
Tokenizer tokenizer = new JavaTokensTokenizer();
TokenList tl = new TokenList("1");

View File

@ -11,9 +11,6 @@ import net.sourceforge.pmd.cpd.*;
import java.util.Iterator;
public class OccurrencesTest extends TestCase {
public OccurrencesTest(String name) {
super(name);
}
public void testBasic1() {
Occurrences occs = new Occurrences(new TokenSets());

View File

@ -14,9 +14,6 @@ import net.sourceforge.pmd.cpd.ResultsImpl;
import java.util.Iterator;
public class ResultsTest extends TestCase {
public ResultsTest(String name) {
super(name);
}
public void testBasic() {
Results r = new ResultsImpl();

View File

@ -13,9 +13,6 @@ import java.util.ArrayList;
import java.util.List;
public class TileTest extends TestCase {
public TileTest(String name) {
super(name);
}
public void testConstructors() {
TokenEntry tok = new TokenEntry("a", 2,"foo", 5);

View File

@ -9,9 +9,6 @@ import junit.framework.TestCase;
import net.sourceforge.pmd.cpd.TokenEntry;
public class TokenEntryTest extends TestCase {
public TokenEntryTest(String name) {
super(name);
}
public void testBasic() {
TokenEntry t = new TokenEntry("a", 2, "foo", 5);

View File

@ -20,10 +20,6 @@ public class TokenListTest extends TestCase {
*/
protected String EOL = System.getProperty("line.separator", "\n");
public TokenListTest(String name) {
super(name);
}
public void testBasic() {
TokenList ts = new TokenList("foo");
assertEquals("foo", ts.getID());

View File

@ -11,9 +11,6 @@ import net.sourceforge.pmd.cpd.TokenList;
import net.sourceforge.pmd.cpd.TokenEntry;
public class TokenSetsTest extends TestCase {
public TokenSetsTest(String name) {
super(name);
}
public void testBasic() {
TokenEntry tok = new TokenEntry("H", 0, "foo", 5);