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
type.createMethod(setUp, null, false, null);	
		fIndexOfFirstTestMethod++;
	}
	
	protected void createTearDown(IType type, IImportsStructure imports) throws JavaModelException {
		ITypeHierarchy typeHierarchy= null;
		IType[] superTypes= null;
		String tearDown;
		IMethod methodTemplate= null;
		if (type.exists()) {
			if (typeHierarchy == null) {
				typeHierarchy= type.newSupertypeHierarchy(null);
				superTypes= typeHierarchy.getAllSuperclasses(type);
			}
			for (int i= 0; i < superTypes.length; i++) {
				if (superTypes[i].exists()) {
					IMethod testM= superTypes[i].getMethod(TEARDOWN, new String[] {});
					if (testM.exists()) {
						methodTemplate= testM;
						break;
					}
				}
			}
		}
		if (methodTemplate != null) {
			CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings();
			GenStubSettings genStubSettings= new GenStubSettings(settings);				
			genStubSettings.fCallSuper= true;
			genStubSettings.fMethodOverwrites= true;
			tearDown= JUnitStubUtility.genStub(getTypeName(), methodTemplate, genStubSettings, imports);