Bug 26247 JUnit: New Test Case wizard does not init dialogs when browsing for test class
Build 20021113 Open the new Test Case wizard Browse for a test class, select a class (e.g. TestCase), press OK Press the browse button again and press OK Previous selection is replaced with first entry in list. This happens because the dialog is not initialized with the current value (in my example TestCase).
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestCaseCreationWizardPage.java
} 
		else {
			fTestClassText.setText(name);
			fTestClassText.setEnabled(canBeModified);
		}
	}	
	/**
	 * Called when the type name has changed.
	 * The method validates the type name and returns the status of the validation.
	 * Can be extended to add more validation
	 */
	protected IStatus testClassChanged() {
		JUnitStatus status= new JUnitStatus();
		String typeName= getTypeName();
		
		if (typeName.length() == 0) {
			status.setError(WizardMessages.getString("NewTestClassWizPage.error.testcase.name_empty")); 
			return status;
		}
		if (typeName.indexOf('.') != -1) {
			status.setError(WizardMessages.getString("NewTestClassWizPage.error.testcase.name_qualified")); 
			return status;
		}
		IStatus val= JavaConventions.validateJavaTypeName(typeName);
		if (val.getSeverity() == IStatus.ERROR) {
			status.setError(WizardMessages.getString("NewTestClassWizPage.error.testcase.name_not_valid")+val.getMessage()); 
			return status;
		} else if (val.getSeverity() == IStatus.WARNING) {
			status.setWarning(WizardMessages.getString("NewTestClassWizPage.error.testcase.name_discouraged")+val.getMessage());