Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
return fIndexOfFirstTestMethod;
	}
	/**
	 * Creates a type using the current field values.
	 */
	public void createType(IProgressMonitor monitor) throws CoreException, InterruptedException {		
		super.createType(monitor);
		if (fPage2.getCreateTasksButtonSelection()) {
			createTaskMarkers();
		}
	}	
	private void createTaskMarkers() throws CoreException {
		IType createdType= getCreatedType();
		fTestMethods= createdType.getMethods();
		ICompilationUnit cu= createdType.getCompilationUnit();
		cu.save(null, false);
		IResource res= createdType.getCompilationUnit().getUnderlyingResource();
		for (int i= getIndexOfFirstMethod(); i < fTestMethods.length; i++) {
			IMethod method= fTestMethods[i];
			IMarker marker= res.createMarker("org.eclipse.jdt.junit.junit_task"); 
			HashMap attributes= new HashMap(10);
			attributes.put(IMarker.PRIORITY, new Integer(IMarker.PRIORITY_NORMAL));
			attributes.put(IMarker.MESSAGE, Messages.getFormattedString("NewTestClassWizPage.marker.message",method.getElementName())); 
			ISourceRange markerRange= method.getSourceRange();
			attributes.put(IMarker.CHAR_START, new Integer(markerRange.getOffset()));
			attributes.put(IMarker.CHAR_END, new Integer(markerRange.getOffset()+markerRange.getLength()));
			marker.setAttributes(attributes);
		}
	}