Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 26247
Collapse All | Expand All

(-)NewTestCaseCreationWizardPage.java (-3 / +3 lines)
Lines 332-338 Link Here
332
		}
332
		}
333
	}
333
	}
334
334
335
	private IType chooseClassToTestType() {
335
	private IType chooseClassToTestType() {	
336
		IPackageFragmentRoot root= getPackageFragmentRoot();
336
		IPackageFragmentRoot root= getPackageFragmentRoot();
337
		if (root == null) 
337
		if (root == null) 
338
			return null;
338
			return null;
Lines 341-348 Link Here
341
		IJavaSearchScope scope= SearchEngine.createJavaSearchScope(elements);
341
		IJavaSearchScope scope= SearchEngine.createJavaSearchScope(elements);
342
		
342
		
343
		IType type= null;
343
		IType type= null;
344
		try {
344
		try {		
345
			SelectionDialog dialog= JavaUI.createTypeDialog(getShell(), getWizard().getContainer(), scope, IJavaElementSearchConstants.CONSIDER_CLASSES, false, null);
345
			SelectionDialog dialog= JavaUI.createTypeDialog(getShell(), getWizard().getContainer(), scope, IJavaElementSearchConstants.CONSIDER_CLASSES, false, fClassToTestText.getText());
346
			dialog.setTitle(WizardMessages.getString("NewTestClassWizPage.class_to_test.dialog.title")); //$NON-NLS-1$
346
			dialog.setTitle(WizardMessages.getString("NewTestClassWizPage.class_to_test.dialog.title")); //$NON-NLS-1$
347
			dialog.setMessage(WizardMessages.getString("NewTestClassWizPage.class_to_test.dialog.message")); //$NON-NLS-1$
347
			dialog.setMessage(WizardMessages.getString("NewTestClassWizPage.class_to_test.dialog.message")); //$NON-NLS-1$
348
			dialog.open();
348
			dialog.open();

Return to bug 26247