Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » problems with JUnit Plugin Test
problems with JUnit Plugin Test [message #30210] Mon, 07 October 2002 14:11 Go to next message
Hans Dockter is currently offline Hans DockterFriend
Messages: 12
Registered: July 2009
Junior Member
I've created a plugin-project with one testcase that has one test:

public void testAccess() {
assertNotNull(ResourcesPlugin.getWorkspace());
}

The test doesn't run but following output is written to the console

!ENTRY org.eclipse.core.runtime 2 1 Okt 07, 2002 16:27:24.525
!MESSAGE Problems encountered loading the plug-in registry.
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Okt 07, 2002 16:27:24.525
!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 Okt 07, 2002 16:27:24.526
!MESSAGE Plug-in "PTest" was disabled due to missing or disabled
prerequisite plug-in "org.eclipse.ui".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Okt 07, 2002 16:27:24.533
!MESSAGE Unable to satisfy prerequisite constraint from "JBossPluginTest"
to "org.eclipse.ui".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Okt 07, 2002 16:27:24.535
!MESSAGE Unable to satisfy prerequisite constraint from "JBossPlugin" to
"org.eclipse.ui".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Okt 07, 2002 16:27:24.535
!MESSAGE Unable to satisfy prerequisite constraint from
"org.eclipse.jdt.ui" to "org.eclipse.ui".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Okt 07, 2002 16:27:24.535
!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 Okt 07, 2002 16:27:24.536
!MESSAGE Plug-in "org.eclipse.help" was disabled due to missing or
disabled prerequisite plug-in "org.apache.lucene".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Okt 07, 2002 16:27:24.536
!MESSAGE Unable to satisfy prerequisite constraint from
"org.eclipse.debug.ui" to "org.eclipse.ui".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Okt 07, 2002 16:27:24.536
!MESSAGE Unable to satisfy prerequisite constraint from
"org.eclipse.jdt.debug.ui" to "org.eclipse.ui".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Okt 07, 2002 16:27:24.537
!MESSAGE Unable to satisfy prerequisite constraint from
"org.eclipse.jdt.junit" to "org.eclipse.ui".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Okt 07, 2002 16:27:24.537
!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 Okt 07, 2002 16:27:24.537
!MESSAGE Unknown extension point "org.eclipse.team.core.fileTypes"
specified in plug-in "org.eclipse.jdt.core".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Okt 07, 2002 16:27:24.537
!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 Okt 07, 2002 16:27:24.538
!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 Okt 07, 2002 16:27:24.538
!MESSAGE Unknown extension point "org.eclipse.team.core.fileTypes"
specified in plug-in "org.eclipse.debug.core".
Re: problems with JUnit Plugin Test [message #30281 is a reply to message #30210] Mon, 07 October 2002 16:15 Go to previous messageGo to next message
Hans Dockter is currently offline Hans DockterFriend
Messages: 12
Registered: July 2009
Junior Member
I forgot to mention that I've installed the org.eclipse.pde.junit-plugin
and started the test via Run as>JUnit Plugin Test.
Re: problems with JUnit Plugin Test [message #30597 is a reply to message #30281] Tue, 08 October 2002 11:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: khussey.rational.com

Please see http://bugs.eclipse.org/bugs/show_bug.cgi?id=23504
Kenn

"Habs Dockter" <mail@dockter-its.de> wrote in message
news:ansbv2$r58$1@rogue.oti.com...
> I forgot to mention that I've installed the org.eclipse.pde.junit-plugin
> and started the test via Run as>JUnit Plugin Test.
>
Re: problems with JUnit Plugin Test [message #30738 is a reply to message #30597] Wed, 09 October 2002 09:08 Go to previous messageGo to next message
Hans Dockter is currently offline Hans DockterFriend
Messages: 12
Registered: July 2009
Junior Member
Kenn Hussey wrote:

> Please see http://bugs.eclipse.org/bugs/show_bug.cgi?id=23504
> Kenn

I've imported all referenced plugins in the workspace and now, if I run a
test via Run as>Junit Plugin Test first a window pops up for a second
saying searching for suites then the JUnit-View appears saying launching
TestRunner and then nothing more happens, no tests are executed.
Re: problems with JUnit Plugin Test (more info) [message #30773 is a reply to message #30738] Wed, 09 October 2002 09:13 Go to previous message
Hans Dockter is currently offline Hans DockterFriend
Messages: 12
Registered: July 2009
Junior Member
In the debugger-perspektive is the following terminated java-launch:

/usr/sabtscha/anwendungen/swe/sprachen/java/editions/j2sdk1. 4.1/jre/bin/java
-classpath
/usr/sabtscha/anwendungen/swe/sprachen/java/IDEs/eclipse/sta rtup.jar
org.eclipse.core.launcher.Main -noupdate -application
org.eclipse.pde.junit.uitestapplication -data
/tmp/org.eclipse.pde.junit.workspace -plugins
/tmp/org.eclipse.pde.junit28775.properties -dev bin -consolelog -port 6035
-testpluginname JBossPluginTester -classnames
de.dockter.eclipse.test.PluginTest
Re: problems with JUnit Plugin Test [message #584255 is a reply to message #30210] Mon, 07 October 2002 16:15 Go to previous message
Hans Dockter is currently offline Hans DockterFriend
Messages: 12
Registered: July 2009
Junior Member
I forgot to mention that I've installed the org.eclipse.pde.junit-plugin
and started the test via Run as>JUnit Plugin Test.
Re: problems with JUnit Plugin Test [message #584395 is a reply to message #30281] Tue, 08 October 2002 11:36 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Please see http://bugs.eclipse.org/bugs/show_bug.cgi?id=23504
Kenn

"Habs Dockter" <mail@dockter-its.de> wrote in message
news:ansbv2$r58$1@rogue.oti.com...
> I forgot to mention that I've installed the org.eclipse.pde.junit-plugin
> and started the test via Run as>JUnit Plugin Test.
>
Re: problems with JUnit Plugin Test [message #584443 is a reply to message #30597] Wed, 09 October 2002 09:08 Go to previous message
Hans Dockter is currently offline Hans DockterFriend
Messages: 12
Registered: July 2009
Junior Member
Kenn Hussey wrote:

> Please see http://bugs.eclipse.org/bugs/show_bug.cgi?id=23504
> Kenn

I've imported all referenced plugins in the workspace and now, if I run a
test via Run as>Junit Plugin Test first a window pops up for a second
saying searching for suites then the JUnit-View appears saying launching
TestRunner and then nothing more happens, no tests are executed.
Re: problems with JUnit Plugin Test (more info) [message #584458 is a reply to message #30738] Wed, 09 October 2002 09:13 Go to previous message
Hans Dockter is currently offline Hans DockterFriend
Messages: 12
Registered: July 2009
Junior Member
In the debugger-perspektive is the following terminated java-launch:

/usr/sabtscha/anwendungen/swe/sprachen/java/editions/j2sdk1. 4.1/jre/bin/java
-classpath
/usr/sabtscha/anwendungen/swe/sprachen/java/IDEs/eclipse/sta rtup.jar
org.eclipse.core.launcher.Main -noupdate -application
org.eclipse.pde.junit.uitestapplication -data
/tmp/org.eclipse.pde.junit.workspace -plugins
/tmp/org.eclipse.pde.junit28775.properties -dev bin -consolelog -port 6035
-testpluginname JBossPluginTester -classnames
de.dockter.eclipse.test.PluginTest
Previous Topic:Technology for Swing + SWT?
Next Topic:Eclipse and JUnit
Goto Forum:
  


Current Time: Wed Apr 24 17:55:04 GMT 2024

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

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

Back to the top