Hello all,
to add JUnit tests for my plugin, I downloaded and installed the
pde.junit extension. However, it does not run even simple Tests!
As a test, I installed a new Eclipse Release 2.0 in a directory, added
the contents of org.eclipse.pde.junit_2.0.0.zip in the plugin directory.
Then I created a plugin project with the custom plugin wizard, enabled
all plugins in the preferences (plugin-development->target platform).
After that I added org.junit to the dependencies of the new plug-in
and I tried "Run as ... -> JUnit Plugin Test" on a new AllTests class:
package Test;
import junit.framework.Test;
import junit.framework.TestSuite;
public class AllTests {
public static Test suite() {
TestSuite result = new TestSuite();
return result;
}
}
And I got the following error message:
!ENTRY org.eclipse.core.runtime 2 1 Aug 13, 2002 14:25:19.59
!MESSAGE Problems encountered loading the plug-in registry.
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Aug 13, 2002 14:25:19.59
!MESSAGE Plug-in "org.eclipse.ui" was disabled due to missing or
disabled prerequisite plug-in "org.eclipse.update.core".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Aug 13, 2002 14:25:19.59
!MESSAGE Plug-in "Test" was disabled due to missing or disabled
prerequisite plug-in "org.eclipse.ui".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Aug 13, 2002 14:25:19.59
!MESSAGE Unable to satisfy prerequisite constraint from
"org.eclipse.jdt.ui" to "org.eclipse.ui".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Aug 13, 2002 14:25:19.59
!MESSAGE Plug-in "org.eclipse.pde.junit" was disabled due to missing or
disabled prerequisite plug-in "org.eclipse.jdt.ui".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Aug 13, 2002 14:25:19.59
!MESSAGE Unknown extension point "org.eclipse.ant.core.antTasks"
specified in plug-in "org.eclipse.core.resources".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Aug 13, 2002 14:25:19.59
!MESSAGE Unknown extension point
"org.eclipse.ant.core.extraClasspathEntries" specified in plug-in
"org.eclipse.core.resources".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Aug 13, 2002 14:25:19.59
!MESSAGE Unknown extension point
"org.eclipse.ant.core.extraClasspathEntries" specified in plug-in
"org.eclipse.jdt.core".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Aug 13, 2002 14:25:19.59
!MESSAGE Unknown extension point "org.eclipse.team.core.fileTypes"
specified in plug-in "org.eclipse.jdt.core".
What am I doing wrong here?
-
Tammo