TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
TIOBE - Java Coding Standard

Rule:  JUnit1Checked automatically with code checker

This rule is Obsolete
Synopsis:You have a suite() method that is not both public and static, so JUnit won't call it to get your TestSuite. Is that what you wanted to do?
Severity Level:3

The suite() method in a JUnit test needs to be both public and static.
import junit.framework.*;
public class Foo extends TestCase {
 public void suite() {} // oops, should be static
 private static void suite() {} // oops, should be public