Bug 20508 TVT2: hardcoded string in NewTestSuiteCreationWizardPage.java
Build F3 In NewTestSuiteCreationWizardPage.java there is a hardcoded string that shows up in the JUnit Test Suite creation page. I have attached a screenshot from a Japanese tester that shows where this appears. To replicate: From the resource perspective, project in the Navigator. Right click on it to bring up a context menu. Select New -> Other.... On the New wizard, expand Java in the left frame, then select Junit. In the right frame, select TestSuite then click on Next. 'JUnit Test Suite' page appears. Under 'Test Classes to iclude in Suite:' box, text '... class selected' appears in English This bug was opened in response to TPRS ID=120
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestSuiteCreationWizardPage.java
private void restoreWidgetValues() {
		IDialogSettings settings= getDialogSettings();
		if (settings != null) {
			boolean generateMain= settings.getBoolean(STORE_GENERATE_MAIN);
			fMethodStubsButtons.setSelection(0, generateMain);
			fMethodStubsButtons.setEnabled(1, generateMain);
			fMethodStubsButtons.setSelection(1,settings.getBoolean(STORE_USE_TESTRUNNER));
			
			
			fMethodStubsButtons.setEnabled(!fMethodStubsButtons.isEnabled());
			fMethodStubsButtons.setEnabled(!fMethodStubsButtons.isEnabled());
			try {
				fMethodStubsButtons.setComboSelection(settings.getInt(STORE_TESTRUNNER_TYPE));
			} catch(NumberFormatException e) {}
		}		
	}	
	/**
	 * 	Since Finish was pressed, write widget values to the dialog store so that they
	 *	will persist into the next invocation of this wizard page
	 */
	void saveWidgetValues() {
		IDialogSettings settings= getDialogSettings();
		if (settings != null) {
			settings.put(STORE_GENERATE_MAIN, fMethodStubsButtons.isSelected(0));
			settings.put(STORE_USE_TESTRUNNER, fMethodStubsButtons.isSelected(1));
			settings.put(STORE_TESTRUNNER_TYPE, fMethodStubsButtons.getComboSelection());
		}
	}	
}