PDE JUnit question [message #61102] |
Wed, 18 June 2003 12:04  |
Eclipse User |
|
|
|
Hello,
We've been using JUnit to test our plugin for a while, but we were
hampered by not being able to test anything that required the rest of
the Eclipse platform to be loaded. I'm very happy to have found out
about org.eclipse.pde.junit_2.1.5.
I downloaded the zip file and unpacked it into my plugins directory.
Upon re-running Eclipse, I was able to run JUnit plugin test, as
expected. It looks like the plugin scanned our plugin for tests to run,
but when it tried to start running the tests, we saw the following error
on the console view:
Exception in thread "main" java.lang.IllegalArgumentException:
Application not found: org.eclipse.pde.junit.uitestapplication.
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:843)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:431)
at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24)
This seems pretty odd to me, as I checked the plugin.xml file in the PDE
JUnit plugin and everything seems to be in order with the declaration of
the uitestapplication.
I looked around the Run configuration dialog and read the documentation
I could find on the launcher, but I haven't been able to figure out what
might be causing the error.
Where am I going wrong?
Thanks,
Jeffrey
|
|
|
|
Re: PDE JUnit question [message #61242 is a reply to message #61195] |
Wed, 18 June 2003 14:32  |
Eclipse User |
|
|
|
That was it. Thank you.
Jeffrey
Richard L. Kulp wrote:
> It needs to be in both the IDE's plugins AND in the the Target Eclipse
> plugins. Do you have it in both?
>
> Rich
>
|
|
|
Powered by
FUDForum. Page generated in 0.05144 seconds