Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Couldn't start the test
Couldn't start the test [message #28879] Wed, 18 March 2009 17:26 Go to next message
Brice Laurel is currently offline Brice LaurelFriend
Messages: 72
Registered: July 2009
Member
Hi list,

I launch swtbot's test. The test don't start. I have this on console.

!SESSION 2009-03-18 18:19:45.562
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Framework arguments: -version 3 -port 2137 -testLoaderClass
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoade r
-loaderpluginname org.eclipse.jdt.junit.runtime -classNames
org.ow2.jasmine.model.diagram.ui.test.presence.FileTest -application
org.eclipse.swtbot.eclipse.core.swtbottestapplication -product
org.ow2.jasmine.model.diagram.product -testpluginname
org.ow2.jasmine.model.diagram.ui.test
Command-line arguments: -os win32 -ws win32 -arch x86 -version 3 -port
2137 -testLoaderClass
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoade r
-loaderpluginname org.eclipse.jdt.junit.runtime -classNames
org.ow2.jasmine.model.diagram.ui.test.presence.FileTest -application
org.eclipse.swtbot.eclipse.core.swtbottestapplication -product
org.ow2.jasmine.model.diagram.product -data C:\Documents and
Settings\Carole Béatrice\Bureau\TestJasmine\workspace/../junit-workspace
-dev file:C:/Documents and Settings/Carole
Béatrice/Bureau/TestJasmine/workspace/.metadata/.plugins/ org.eclipse.pde.core/pde-junit/dev.properties
-os win32 -ws win32 -arch x86 -testpluginname
org.ow2.jasmine.model.diagram.ui.test

!ENTRY org.eclipse.osgi 4 0 2009-03-18 18:19:47.781
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application
"org.eclipse.swtbot.eclipse.core.swtbottestapplication" could not be found
in the registry. The applications available are:
org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error,
org.eclipse.pde.junit.runtime.uitestapplication,
org.eclipse.pde.junit.runtime.legacytestapplication,
org.eclipse.pde.junit.runtime.coretestapplication,
org.eclipse.pde.junit.runtime.coretestapplicationnonmain,
org.eclipse.update.core.standaloneUpdate,
org.eclipse.update.core.siteOptimizer,
org.ow2.jasmine.model.diagram.JasmineApplication.
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:386)
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)

I add allplugins in the dependencies of my plugins'test. I don't
understand what it's wrong. Thanks in advance for your help.
Re: Couldn't start the test [message #28896 is a reply to message #28879] Wed, 18 March 2009 17:32 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Brice,

I think the plugin org.eclipse.swtbot.eclipse.core is not available in
your target platform.

-- Ketan

On 18/3/09 22:56, Brice Laurel wrote:
> Hi list,
>
> I launch swtbot's test. The test don't start. I have this on console.
>
> !SESSION 2009-03-18 18:19:45.562
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_07
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
> Framework arguments: -version 3 -port 2137 -testLoaderClass
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoade r
> -loaderpluginname org.eclipse.jdt.junit.runtime -classNames
> org.ow2.jasmine.model.diagram.ui.test.presence.FileTest -application
> org.eclipse.swtbot.eclipse.core.swtbottestapplication -product
> org.ow2.jasmine.model.diagram.product -testpluginname
> org.ow2.jasmine.model.diagram.ui.test
> Command-line arguments: -os win32 -ws win32 -arch x86 -version 3 -port
> 2137 -testLoaderClass
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoade r
> -loaderpluginname org.eclipse.jdt.junit.runtime -classNames
> org.ow2.jasmine.model.diagram.ui.test.presence.FileTest -application
> org.eclipse.swtbot.eclipse.core.swtbottestapplication -product
> org.ow2.jasmine.model.diagram.product -data C:\Documents and
> Settings\Carole
> Béatrice\Bureau\TestJasmine\workspace/../junit-workspace -dev
> file:C:/Documents and Settings/Carole
> Béatrice/Bureau/TestJasmine/workspace/.metadata/.plugins/ org.eclipse.pde.core/pde-junit/dev.properties
> -os win32 -ws win32 -arch x86 -testpluginname
> org.ow2.jasmine.model.diagram.ui.test
>
> !ENTRY org.eclipse.osgi 4 0 2009-03-18 18:19:47.781
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: Application
> "org.eclipse.swtbot.eclipse.core.swtbottestapplication" could not be
> found in the registry. The applications available are:
> org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error,
> org.eclipse.pde.junit.runtime.uitestapplication,
> org.eclipse.pde.junit.runtime.legacytestapplication,
> org.eclipse.pde.junit.runtime.coretestapplication,
> org.eclipse.pde.junit.runtime.coretestapplicationnonmain,
> org.eclipse.update.core.standaloneUpdate,
> org.eclipse.update.core.siteOptimizer,
> org.ow2.jasmine.model.diagram.JasmineApplication.
> 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:386)
>
> 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)
>
> I add allplugins in the dependencies of my plugins'test. I don't
> understand what it's wrong. Thanks in advance for your help.
>
Re: Couldn't start the test [message #29108 is a reply to message #28896] Thu, 19 March 2009 11:28 Go to previous message
Brice Laurel is currently offline Brice LaurelFriend
Messages: 72
Registered: July 2009
Member
Hi list,

I resolve my problem, but I don't understand how.
I add the Java 1.6 (before I have java 1.5)in the execution environment
and the plugin run well. I don't understand why? Someone can explain me
that?
Previous Topic:removing require-bundle headers
Next Topic:Changes in update site structure
Goto Forum:
  


Current Time: Sat Apr 20 12:12:31 GMT 2024

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

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

Back to the top