Bug 53352 Test case wizard generates wrong code
When clicking on a class and then doing new -> junit test case the code generated includes this: public static void main(String[] args) { junit.textui.TestRunner.run(QueryAnalizerTest.suite()); } the suite() methods is not found in generated class. I fix if by changing to junit.textui.TestRunner.run(QueryAnalizerTest.class); but I don't use to run is as an app, so maybe the fix action shuold be different
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java
if (type.isClass() && ! Flags.isAbstract(type.getFlags()) && TestSearchEngine.isTestImplementor(type))	
							typesArrayList.add(types[j]);
					}
				}
				return typesArrayList.toArray();
			} catch (JavaModelException e) {
				JUnitPlugin.log(e);
				return new Object[0];
			}
		}
		
		public void dispose() {
		}
		
		public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
		}
	}
	/*
	 * @see TypePage#evalMethods
	 */
	protected void createTypeMembers(IType type, ImportsManager imports, IProgressMonitor monitor) throws CoreException {
		writeImports(imports);
		if (fMethodStubsButtons.isEnabled() && fMethodStubsButtons.isSelected(0)) 
			createMain(type);
		type.createMethod(getSuiteMethodString(), null, false, null);	
	}
	protected void createMain(IType type) throws JavaModelException {
		type.createMethod(fMethodStubsButtons.getMainMethod(getTypeName()), null, false, null);	
	}
	/**