fTestRunnerClient.startListening(this, port);
Vector listeners= JUnitPlugin.getDefault().getTestRunListeners(); ITestRunListener[] listenerArray= new ITestRunListener[listeners.size()+1]; listeners.copyInto(listenerArray); System.arraycopy(listenerArray, 0, listenerArray, 1, listenerArray.length-1); listenerArray[0]= this; fTestRunnerClient.startListening(listenerArray, port);
	public void startTestRunListening(IJavaElement type, int port, ILaunch launch) {		fTestProject= type.getJavaProject();		fLaunchMode= launch.getLaunchMode();		aboutToLaunch();				if (fTestRunnerClient != null) {			stopTest();		}		fTestRunnerClient= new RemoteTestRunnerClient();		fTestRunnerClient.startListening(this, port);		fLastLaunch= launch;		String title= JUnitMessages.getFormattedString("TestRunnerViewPart.title", type.getElementName()); //$NON-NLS-1$		setTitle(title);		if (type instanceof IType)			setTitleToolTip(((IType)type).getFullyQualifiedName());		else			setTitleToolTip(type.getElementName());				}