Bug 41239 Compile error in JDT JUnit due to SWTUtil [JUnit]
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteWizardPage.java
int end= source.indexOf(NewTestSuiteWizardPage.END_MARKER, start);
					if (end > -1) {
						monitor.subTask(WizardMessages.getString("NewTestSuiteWizPage.createType.updating.suite_method")); 
						monitor.worked(1);
						end += NewTestSuiteWizardPage.END_MARKER.length();
						source.replace(start, end, getUpdatableString());
						buf.replace(range.getOffset(), range.getLength(), source.toString());
						monitor.worked(1);
						String formattedContent= JUnitStubUtility.formatCompilationUnit(cu.getJavaProject(), cu.getSource(), lineDelimiter);
						buf.setContents(formattedContent);
						monitor.worked(1);
						cu.save(new SubProgressMonitor(monitor, 1), false);
					} else {
						cannotUpdateSuiteError();
					}
				} else {
					cannotUpdateSuiteError();
				}
			} else {
				MessageDialog.openError(getShell(), WizardMessages.getString("NewTestSuiteWizPage.createType.updateErrorDialog.title"), WizardMessages.getString("NewTestSuiteWizPage.createType.updateErrorDialog.message")); 
			}
		} else {
			suiteType.createMethod(getSuiteMethodString(), null, true, monitor);
			String originalContent= cu.getSource();
			monitor.worked(2);
			String formattedContent= JUnitStubUtility.formatCompilationUnit(cu.getJavaProject(), originalContent, lineDelimiter);
			cu.getBuffer().setContents(formattedContent);
			monitor.worked(1);
			cu.save(new SubProgressMonitor(monitor, 1), false);
		}