protected void launchType(IJavaElement search, String mode) {
protected void launchType(Object[] search, String mode) {
	protected void launchType(IJavaElement search, String mode) {		IType[] types= null;		try {			types= TestSearchEngine.findTests(new Object[] { search });		} catch (InterruptedException e) {			JUnitPlugin.log(e);			return;		} catch (InvocationTargetException e) {			JUnitPlugin.log(e);			return;		}		IType type= null;		if (types.length == 0) {			MessageDialog.openInformation(JUnitPlugin.getActiveWorkbenchShell(), JUnitMessages.LaunchTestAction_dialog_title,					JUnitMessages.LaunchTestAction_message_notests);		} else if (types.length > 1) {			type= chooseType(types, mode);		} else {			type= types[0];		}		if (type != null) {			try {				launch(mode, describeTypeLaunch(type));			} catch (LaunchCancelledByUserException e) {				// OK, silently move on			}		}	}