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
public void init(IStructuredSelection selection, NewTestCaseCreationWizardPage2 page2) {
		fPage2= page2;
		IJavaElement element= getInitialJavaElement(selection);
		initContainerPage(element);
		initTypePage(element);
		updateStatus(findMostSevereStatus());
		
				
		if (element != null) {
			IType classToTest= null;
			
			IPackageFragment pack= (IPackageFragment) JavaModelUtil.findElementOfKind(element, IJavaElement.PACKAGE_FRAGMENT);
			IType typeInCompUnit= (IType) JavaModelUtil.findElementOfKind(element, IJavaElement.TYPE);
			if (typeInCompUnit != null) {
				if (typeInCompUnit.getCompilationUnit() != null) {
					classToTest= typeInCompUnit;
				}
			} else {
				ICompilationUnit cu= (ICompilationUnit) JavaModelUtil.findElementOfKind(element, IJavaElement.COMPILATION_UNIT);
				if (cu != null) 
					classToTest= JavaModelUtil.findPrimaryType(cu);
				else {
					if (element instanceof IClassFile) {
						try {
							IClassFile cf= (IClassFile) element;
							if (cf.isStructureKnown())
								classToTest= cf.getType();
						} catch(JavaModelException e) {
							JUnitPlugin.log(e);
						}