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
public void widgetSelected(SelectionEvent e) {
					fClassesInSuiteTable.setAllChecked(false);
					handleFieldChanged(CLASSES_IN_SUITE);
				}
			});
			
			fSelectedClassesLabel= new Label(parent, SWT.LEFT | SWT.WRAP);
			fSelectedClassesLabel.setFont(parent.getFont());
			updateSelectedClassesLabel();
			gd = new GridData();
			gd.horizontalSpan = 2;
			fSelectedClassesLabel.setLayoutData(gd);
		}
	}
	static class ClassesInSuitContentProvider implements IStructuredContentProvider {
			
		public Object[] getElements(Object parent) {
			if (! (parent instanceof IPackageFragment))
				return new Object[0];
			IPackageFragment pack= (IPackageFragment) parent;
			if (! pack.exists())
				return new Object[0];
			try {
				ICompilationUnit[] cuArray= pack.getCompilationUnits();
				List typesArrayList= new ArrayList();
				for (int i= 0; i < cuArray.length; i++) {
					ICompilationUnit cu= cuArray[i];
					IType[] types= cu.getTypes();
					for (int j= 0; j < types.length; j++) {
						IType type= types[j];