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
}
	
	private String getUpdatableString() {
		return getUpdatableString(fClassesInSuiteTable.getCheckedElements());
	}
	/**
	 * Runnable for replacing an existing suite() method.
	 */
	public IRunnableWithProgress getRunnable() {
		return new IRunnableWithProgress() {
			public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
				try {
					if (monitor == null) {
						monitor= new NullProgressMonitor();
					}
					updateExistingClass(monitor);
				} catch (CoreException e) {
					throw new InvocationTargetException(e);
				} 				
			}
		};
	}
	
	protected void updateExistingClass(IProgressMonitor monitor) throws CoreException, InterruptedException {
		IPackageFragment pack= getPackageFragment();
		ICompilationUnit cu= pack.getCompilationUnit(getTypeName() + ".java"); 
		
		if (!cu.exists()) {
			createType(monitor);
			fUpdatedExistingClassButton= false;