Bug 50097 [junit] Cannot rerun test case (but can rerun test method)
It is very nice that one can right-click "Rerun" a test method. I have a test suite with many test case classes. I want to be able to right-click rerun on a test case class and rerun it. Version 3.0.m6.
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/OpenTestAction.java
if (method == null) {
			String title= JUnitMessages.getString("OpenTestAction.error.title");
			String message= JUnitMessages.getFormattedString("OpenTestAction.error.methodNoFound", fMethodName);
			MessageDialog.openInformation(getShell(), title, message);
			return type;
		}
		fRange= method.getNameRange();
		return method;
	}
	
	IMethod findMethod(IType type) {
		IMethod method= type.getMethod(fMethodName, new String[0]);
		if (method != null && method.exists())
			return method;
		return null;
	}
	
	protected void reveal(ITextEditor textEditor) {
		if (fRange != null)
			textEditor.selectAndReveal(fRange.getOffset(), fRange.getLength());
	}
	public boolean isEnabled() {
		try {
			return getLaunchedProject().findType(getClassName()) != null;
		} catch (JavaModelException e) {
		}
		return false;
	}
}