Bug 8790 [Wizards] Non-api subclassing of BasicNewResourceWizard
The JavaDoc for BasicNewResourceWizard indicates that that should not be subclassed. It is being subclassed by: org.eclipse.jdt.internal.ui.wizards.NewElementWizard org.eclipse.jdt.ui.examples.projects.ExampleProjectCreationWizard
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/RemoteTestRunnerClient.java
notifyTestRunTerminated();
			} catch (IOException e) {
				System.out.println(e);
				
			}
			shutDown();
		}
	}
	/**
	 * Start listening to a test run. Start a server connection that
	 * the RemoteTestRunner can connect to.
	 */
	public synchronized void startListening(
		ITestRunListener[] listeners,
		int port) {
		fListeners = listeners;
		fPort = port;
		ServerConnection connection = new ServerConnection(port);
		connection.start();
	}
	
	/**
	 * Requests to stop the remote test run.
	 */
	public synchronized void stopTest() {
		if (isRunning()) {
			fWriter.println(MessageIds.TEST_STOP);
			fWriter.flush();
		}
	}