Bug 96581 Remove references to internal code in jdt.junit plug-in
N20050525-0010
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
fTestRunnerClient.startListening(listenerArray, port);
		
		fLastLaunch= launch;
		setContentDescription(MessageFormat.format(JUnitMessages.TestRunnerViewPart_Launching, new Object[]{ launch.getLaunchConfiguration().getName() }));
		if (type instanceof IType)
			setTitleToolTip(((IType)type).getFullyQualifiedName('.'));
		else
			setTitleToolTip(type.getElementName());
			
	}
	protected ITestRunListener[] getListenerArray() {
		
		List listeners= JUnitPlugin.getDefault().getTestRunListeners();	
		ITestRunListener[] listenerArray= new ITestRunListener[listeners.size()+1];
		listeners.toArray(listenerArray);
		System.arraycopy(listenerArray, 0, listenerArray, 1, listenerArray.length-1);
		listenerArray[0]= this;
		return listenerArray;
	}
	protected void aboutToLaunch() {
		String msg= JUnitMessages.TestRunnerViewPart_message_launching; 
		
		setInfoMessage(msg);
		fViewImage= fOriginalViewImage;
		firePropertyChange(IWorkbenchPart.PROP_TITLE);
	}
	public synchronized void dispose(){
		fIsDisposed= true;
		stopTest();
		if (fProgressImages != null)