[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-ui-dev] How to connect a view with a programmatically launched program?
|
Hi,
the relevant code is in the classes:
org.eclipse.jdt.internal.junit.launcher.JUnitBaseBaseLaunchConfiguration
(starts the VM)
org.eclipse.jdt.internal.junit.ui.JUnitPlugin (connects to TestRunner with
the VM)
Did you look into the testRunListener extension point? It allows you to
listen to a test run.
--erich
Philipp.Bouillon@
t-online.de
(Philipp To
Bouillon) jdt-ui-dev@xxxxxxxxxxx
Sent by: cc
jdt-ui-dev-admin@
eclipse.org Subject
[jdt-ui-dev] How to connect a view
with a programmatically launched
04/17/2003 05:42 program?
PM
Please respond to
jdt-ui-dev@eclips
e.org
Hi,
I have written a launcher for Eclipse that (basically) launches a
JUnit-Runner (derived from org.junit.runner.BaseTestRunner).
Now, how can I display information from that runner (say about
failing/passing tests) in the workbench that originally started the
LaunchDelegate?
I am thinking of creating a new view for this runner _and_ for the
workbench that originally started it. I'd like to have _one_ view that
displays information about both programs. I think that you do the same with
your JUnit launcher, but I cannot see, where the actual connection between
the workbench and the runner takes place. Could you point me to the
source-files I'd have to look at or describe the general idea behind it,
please?
Thanks for the help, and happy Easter,
Philipp Bouillon
PGP-PublicKey: http://philipp.bouillon.bei.t-online.de/PGPPublic.htm
PGP-Fingerprint: DCF4 3600 5DDB A23B 4DCD 121D D626 3131 71F2 EA9F
_______________________________________________
jdt-ui-dev mailing list
jdt-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-ui-dev