Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Automated unit testing: "org.eclipse.test.coretestapplication" could not be foun
Automated unit testing: "org.eclipse.test.coretestapplication" could not be foun [message #584258] Tue, 04 November 2008 20:33
Rogan Creswick is currently offline Rogan CreswickFriend
Messages: 2
Registered: July 2009
Junior Member
I have been trying to setup a plugin development project (well, 5-7
projects, each generating an OSGi bundle, together constituting an eclipse
plugin), and one of the critical aspects is automated build and unit
testing.

To accomplish that, I've been trying to set up a simple automated
build/test scenario. The most promising approach I've found is this
example:

*
http://rcpquickstart.com/2007/08/06/running-automated-tests- with-pde-build/

The majority of the instructions for that example work fine -- I have been
able to build the binaries for multiple architectures, and I am confident
that I can adapt that portion of the build to my project. (I am not sure
about deployment, but I'm willing to let that slide for now.)

I have been unable to run automated tests, however, with this example or
with any other approach I've found. Every configuration of projects,
plugins, ant, eclipse antRunners, etc. has resulted in a "Java Result:
13". I've recently identified a more meaningful error in the log files
for the RCPQuickstart example, where an exception occurs along with a
number of missing dependencies:

java.lang.RuntimeException: Application
"org.eclipse.test.coretestapplication" could not be found in the registry.
The applications available are: org.eclipse.equinox.app.error,
com.rcpquickstart.helloworld.application.
at
org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:242)
at
org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
at org.eclipse.core.launcher.Main.main(Main.java:30)

!ENTRY org.eclipse.osgi 2 0 2008-11-04 20:08:12.237
!MESSAGE One or more bundles are not resolved because the following root
constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-11-04 20:08:12.237
!MESSAGE Bundle update@plugins/org.eclipse.test_3.2.0/ was not resolved.
!SUBENTRY 2 org.eclipse.test 2 0 2008-11-04 20:08:12.238
!MESSAGE Missing required bundle org.eclipse.ui.ide.application_0.0.0.
!SUBENTRY 2 org.eclipse.test 2 0 2008-11-04 20:08:12.238
!MESSAGE Missing required bundle org.apache.ant_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-11-04 20:08:12.239
!MESSAGE Bundle update@plugins/org.eclipse.ant.optional.junit_3.2.100.jar
was not resolved.
!SUBENTRY 2 org.eclipse.ant.optional.junit 2 0 2008-11-04 20:08:12.239
!MESSAGE Missing host org.apache.ant_[1.6.5,2.0.0).
!SUBENTRY 2 org.eclipse.ant.optional.junit 2 0 2008-11-04 20:08:12.240
!MESSAGE Missing required bundle
org.eclipse.core.runtime.compatibility_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2008-11-04 20:08:12.240
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-11-04 20:08:12.241
!MESSAGE Bundle update@plugins/org.eclipse.test_3.2.0/ was not
resolved.
!SUBENTRY 2 org.eclipse.test 2 0 2008-11-04 20:08:12.242
!MESSAGE Missing required bundle org.apache.ant_0.0.0.
!SUBENTRY 2 org.eclipse.test 2 0 2008-11-04 20:08:12.245
!MESSAGE Missing required bundle org.eclipse.ui.ide.application_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-11-04 20:08:12.246
!MESSAGE Bundle update@plugins/org.eclipse.ant.optional.junit_3.2.100.jar
[60] was not resolved.
!SUBENTRY 2 org.eclipse.ant.optional.junit 2 0 2008-11-04 20:08:12.247
!MESSAGE Missing host org.apache.ant_[1.6.5,2.0.0).
!SUBENTRY 2 org.eclipse.ant.optional.junit 2 0 2008-11-04 20:08:12.248
!MESSAGE Missing required bundle
org.eclipse.core.runtime.compatibility_0.0.0.


While working through the PDE Guide, I noticed that my
${baseLocation}/features/ directory does not include anything obviously
related to org.eclipse.equinox.launchers (I did extract the Eclipse RCP
3.4 deta pack to that location -- it only contains
org.eclipse.equinox.executable_3.3.100.v20080606-7H-ELQEDdVv 0SVkW65GwAA/)

It seems that I need to have some additional features / plugins installed
*somewhere* but I have no idea what to try next. I've copied the missing
bundles into the ${baseLocation}/plugins/ directory, but that has had no
effect.

Thank you,
Rogan Creswick
Previous Topic:Automated unit testing: "org.eclipse.test.coretestapplication" could not be foun
Next Topic:Stopping View from listening Key Sequence
Goto Forum:
  


Current Time: Sat Sep 25 10:04:41 GMT 2021

Powered by FUDForum. Page generated in 0.01866 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top