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
}
	
	/**
	 * Returns the class to be tested.
	 */
	public IType getClassToTest() {
		return fClassToTest;
	}
	/**
	 * Sets the name of the class to test.
	 */		
	public void setClassToTest(String name) {
		fClassToTestText.setText(name);
	}	
	/**
	 * @see NewTypeWizardPage#createTypeMembers
	 */
	protected void createTypeMembers(IType type, ImportsManager imports, IProgressMonitor monitor) throws CoreException {
		fIndexOfFirstTestMethod= 0;
		createConstructor(type, imports); 
		if (fMethodStubsButtons.isSelected(0)) 
			createMain(type);
		
		if (fMethodStubsButtons.isSelected(2)) {
			createSetUp(type, imports);
		}
		
		if (fMethodStubsButtons.isSelected(3)) {
			createTearDown(type, imports);
		}