testing: ITestRunnerClient.startListening(ITestRunListener2 listener) method signature changed
diff --git a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/ITestRunListener2.java b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/ITestRunListener2.java
index cb22c63..a27a75a 100755
--- a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/ITestRunListener2.java
+++ b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/ITestRunListener2.java
@@ -12,6 +12,9 @@
 
 import org.eclipse.dltk.testing.MessageIds;
 
+/**
+ * @noimplement This interface is not intended to be implemented by clients.
+ */
 public interface ITestRunListener2 {
 
 	/**
diff --git a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/ITestRunnerClient.java b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/ITestRunnerClient.java
index 09b67ba..e4b6f4b 100644
--- a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/ITestRunnerClient.java
+++ b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/ITestRunnerClient.java
@@ -40,6 +40,6 @@
 	/**
 	 * @param listeners
 	 */
-	void startListening(ITestRunListener2[] listeners);
+	void startListening(ITestRunListener2 listener);
 
 }
diff --git a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/RemoteTestRunnerClient.java b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/RemoteTestRunnerClient.java
index 1ad4c4f..95d26fc 100755
--- a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/RemoteTestRunnerClient.java
+++ b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/RemoteTestRunnerClient.java
@@ -246,8 +246,8 @@
 	 * @param listeners 
 	 * @param port 
 	 */
-	public synchronized void startListening(ITestRunListener2[] listeners) {
-		fListeners= listeners;
+	public synchronized void startListening(ITestRunListener2 listener) {
+		fListeners = new ITestRunListener2[] { listener };
 //		fPort= port;
 //		ServerConnection connection= new ServerConnection(port);
 //		connection.start();
diff --git a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/SocketTestRunnerClient.java b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/SocketTestRunnerClient.java
index 1af3a07..900ffdd 100644
--- a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/SocketTestRunnerClient.java
+++ b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/SocketTestRunnerClient.java
@@ -299,8 +299,8 @@
 	 * 
 	 * @param listeners
 	 */
-	public synchronized void startListening(ITestRunListener2[] listeners) {
-		fListeners = listeners;
+	public synchronized void startListening(ITestRunListener2 listener) {
+		fListeners = new ITestRunListener2[] { listener };
 		ServerConnection connection = new ServerConnection(fPort);
 		connection.start();
 	}
diff --git a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/TestRunSession.java b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/TestRunSession.java
index 4b30607..42737f5 100755
--- a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/TestRunSession.java
+++ b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/TestRunSession.java
@@ -188,7 +188,7 @@
 		fCategoryMap = new HashMap<String, TestCategoryElement>();
 		
 		fTestRunnerClient= runnerClient;
-		fTestRunnerClient.startListening(new ITestRunListener2[] { new TestSessionNotifier() } );
+		fTestRunnerClient.startListening(new TestSessionNotifier());
 		
 		final ILaunchManager launchManager= DebugPlugin.getDefault().getLaunchManager();
 		launchManager.addLaunchListener(new ILaunchesListener2() {