blob: 68a5df1305f64a2e2484c99b87dfbb6f86364f44 [file] [log] [blame]
public class JUnit3TestMethodIsPublicVoidNoArg extends junit.framework.TestCase {
public JUnit3TestMethodIsPublicVoidNoArg() {}
void <warning descr="Test method 'testOne()' is not declared 'public void'">testOne</warning>() {}
public int <warning descr="Test method 'testTwo()' is not declared 'public void'">testTwo</warning>() {
return 2;
}
public static void <warning descr="Test method 'testThree()' should not be 'static'">testThree</warning>() {}
public void <warning descr="Test method 'testFour()' should probably not have parameters">testFour</warning>(int i) {}
public void testFive() {}
}