Project: JDT
Bug 140292 RC2: JUnit 4 test finder tries to run abstract test classes
Reported: 2006-05-04 23:31:18 | Status: verified fixed

Even if a class looks like a JUnit 4 test, if it is abstract, it cannot be run. However, the JUnit 4 test finder still attempts it. For example: abstract public class CTest { @Test public void b() { } }

Files changed in fix:
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnit4TestFinder.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnit4TestFinder.java