Bug 19635 JUnit useless launch config name when there is no selection
1) give the packages view focus 2) remove the selection 3) bring up the launch config dialog 4) create a new JUnit launch configuration ->it is given the name (1) should fix
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java
return fTestIcon;
	}
	/**
	 * Show a dialog that lists all main types
	 */
	protected void handleSearchButtonSelected() {
		Shell shell = getShell();
		IWorkbenchWindow workbenchWindow = JUnitPlugin.getActiveWorkbenchWindow();
		
		IJavaProject javaProject = getJavaProject();
		
		SelectionDialog dialog = new TestSelectionDialog(shell, getLaunchConfigurationDialog(), javaProject);
		dialog.setTitle(JUnitMessages.getString("JUnitMainTab.testdialog.title")); 
		dialog.setMessage(JUnitMessages.getString("JUnitMainTab.testdialog.message")); 
		if (dialog.open() == dialog.CANCEL) {
			return;
		}
		
		Object[] results = dialog.getResult();
		if ((results == null) || (results.length < 1)) {
			return;
		}		
		IType type = (IType)results[0];
		
		if (type != null) {
			fTestText.setText(type.getFullyQualifiedName());
			javaProject = type.getJavaProject();
			fProjText.setText(javaProject.getElementName());
		}
	}