You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by jr...@apache.org on 2003/01/02 16:24:23 UTC
cvs commit: jakarta-cactus/Eclipse-Plugin/src/java/org/apache/cactus/eclipse/launcher CactusLaunchShortcut.java
jruaux 2003/01/02 07:24:23
Modified: Eclipse-Plugin/src/java/org/apache/cactus/eclipse/launcher
CactusLaunchShortcut.java
Log:
Uses the new patched JUnit plugin
Revision Changes Path
1.14 +3 -5 jakarta-cactus/Eclipse-Plugin/src/java/org/apache/cactus/eclipse/launcher/CactusLaunchShortcut.java
Index: CactusLaunchShortcut.java
===================================================================
RCS file: /home/cvs/jakarta-cactus/Eclipse-Plugin/src/java/org/apache/cactus/eclipse/launcher/CactusLaunchShortcut.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- CactusLaunchShortcut.java 31 Oct 2002 15:49:06 -0000 1.13
+++ CactusLaunchShortcut.java 2 Jan 2003 15:24:23 -0000 1.14
@@ -76,7 +76,6 @@
import org.eclipse.jdt.internal.junit.util.TestSearchEngine;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
-import org.eclipse.ui.IWorkbenchPage;
/**
* Launch shortcut used to start the Cactus launch configuration on the
@@ -99,6 +98,7 @@
* The provider to use for container setup.
*/
private IContainerProvider provider;
+
/**
* @return the Cactus launch configuration type. This method overrides
* the one in {@link JUnitLaunchShortcut} so that we can return
@@ -180,6 +180,7 @@
{
prepareCactusTests(theType);
ILaunchConfiguration config = findLaunchConfiguration(theType, theMode);
+ JUnitPlugin.getDefault().addTestRunListener(this);
if (config != null)
{
try
@@ -194,11 +195,8 @@
e.getMessage(),
e.getStatus());
}
+
}
- IWorkbenchPage wbPage = JUnitPlugin.getDefault().getActivePage();
- JUnitViewFinder finder = new JUnitViewFinder(wbPage, this);
- Thread theThread = new Thread(finder);
- theThread.start();
}
/**
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>