Project: JDT
Bug 129035 JUnit 4.0 classes not being recognized correctly.
Reported: 2006-02-22 14:52:50 | Status: resolved fixed

I was using Eclipse 3.2M4 and using JUnit 4.0. I was using their adapter to hook into Eclipse, via RightClicking on the JUnit test file, Selecting Run>JUnit Test. This behavior went away when I updated to 3.2M5. Now the only way I can run the test is by going to the Run menu, and creating a brand new "Run Profile" for it.

Files changed in fix:
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/ITestFinder.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnit3TestFinder.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnit4TestFinder.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/util/TestSearchEngine.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/ContainerTestSearchExtent.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/ITestFinder.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnit3TestFinder.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnit4TestFinder.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchShortcut.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/TestSelectionDialog.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/TestSearchEngine.java