* fix for tcl testing engines.
diff --git a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/TestCategoryEngineManager.java b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/TestCategoryEngineManager.java
index d834ab6..2bb123c 100644
--- a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/TestCategoryEngineManager.java
+++ b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/TestCategoryEngineManager.java
@@ -18,6 +18,7 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
+import org.eclipse.dltk.internal.testing.launcher.NullTestRunnerUI;
import org.eclipse.dltk.internal.testing.util.NumberUtils;
import org.eclipse.dltk.testing.DLTKTestingPlugin;
import org.eclipse.dltk.testing.ITestCategoryEngine;
@@ -102,6 +103,9 @@
*/
public static ITestCategoryEngine[] getCategoryEngines(
ITestRunnerUI runnerUI) {
+ if (runnerUI instanceof NullTestRunnerUI) {
+ return null;
+ }
final Descriptor[] descriptors = (Descriptor[]) getInstance()
.getInstances(runnerUI.getTestingEngine().getId());
if (descriptors == null) {