Skip to main content



      Home
Home » Eclipse Projects » SWTBot » Problem with "SWTBot Test"
Problem with "SWTBot Test" [message #35635] Tue, 19 May 2009 06:51 Go to next message
Eclipse UserFriend
Hello.

Until now I added my SWTBot tests to "JUnit Plug-In Test". Now I just
tried to add it under "SWTBot Test" in the "Run Configurations" dialog.
I use the exact same configuration, but I get an exception when I try to
run that test (on the other side, the JUnit- Plug-in Test runs fine).
Why do I get that exception? What am I doing wrong?
And is there an advantage of adding the test to "SWTBot Test" instead of
adding it to "JUnit Plug-In Test"?

Regards,
Kai

An internal error occurred during: "Launching ProjectSetupTest".

Stack Trace:
java.lang.NoSuchMethodError:
org.eclipse.pde.internal.ui.launcher.LaunchPluginValidator.g etPluginsToRun(Lorg/eclipse/debug/core/ILaunchConfiguration; )Ljava/util/Map;
at
org.eclipse.swtbot.eclipse.ui.JUnitLaunchConfigurationDelega te.preLaunchCheck(JUnitLaunchConfigurationDelegate.java:347)
at
org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDeleg ate.launch(JUnitLaunchConfigurationDelegate.java:112)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:853)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:703)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:866)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlu gin.java:1069)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Re: Problem with "SWTBot Test" [message #35669 is a reply to message #35635] Tue, 19 May 2009 06:52 Go to previous messageGo to next message
Eclipse UserFriend
Oh forgot to say ... using Eclipse 3.5 RC1 (but the problem also occured
in earlier versions) and current SWTBot from the Update Site.

Kai Schlamp wrote:
> Hello.
>
> Until now I added my SWTBot tests to "JUnit Plug-In Test". Now I just
> tried to add it under "SWTBot Test" in the "Run Configurations" dialog.
> I use the exact same configuration, but I get an exception when I try to
> run that test (on the other side, the JUnit- Plug-in Test runs fine).
> Why do I get that exception? What am I doing wrong?
> And is there an advantage of adding the test to "SWTBot Test" instead of
> adding it to "JUnit Plug-In Test"?
>
> Regards,
> Kai
>
> An internal error occurred during: "Launching ProjectSetupTest".
>
> Stack Trace:
> java.lang.NoSuchMethodError:
> org.eclipse.pde.internal.ui.launcher.LaunchPluginValidator.g etPluginsToRun(Lorg/eclipse/debug/core/ILaunchConfiguration; )Ljava/util/Map;
>
> at
> org.eclipse.swtbot.eclipse.ui.JUnitLaunchConfigurationDelega te.preLaunchCheck(JUnitLaunchConfigurationDelegate.java:347)
>
> at
> org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDeleg ate.launch(JUnitLaunchConfigurationDelegate.java:112)
>
> at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:853)
>
> at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:703)
>
> at
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:866)
>
> at
> org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlu gin.java:1069)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Re: Problem with "SWTBot Test" [message #35737 is a reply to message #35635] Tue, 19 May 2009 07:51 Go to previous message
Eclipse UserFriend
http://www.eclipse.org/newsportal/article.php?id=632&gro up=eclipse.swtbot#632

On 19/5/09 16:21, Kai Schlamp wrote:
> Hello.
>
> Until now I added my SWTBot tests to "JUnit Plug-In Test". Now I just
> tried to add it under "SWTBot Test" in the "Run Configurations" dialog.
> I use the exact same configuration, but I get an exception when I try to
> run that test (on the other side, the JUnit- Plug-in Test runs fine).
> Why do I get that exception? What am I doing wrong?
> And is there an advantage of adding the test to "SWTBot Test" instead of
> adding it to "JUnit Plug-In Test"?
>
> Regards,
> Kai
>
> An internal error occurred during: "Launching ProjectSetupTest".
>
> Stack Trace:
> java.lang.NoSuchMethodError:
> org.eclipse.pde.internal.ui.launcher.LaunchPluginValidator.g etPluginsToRun(Lorg/eclipse/debug/core/ILaunchConfiguration; )Ljava/util/Map;
>
> at
> org.eclipse.swtbot.eclipse.ui.JUnitLaunchConfigurationDelega te.preLaunchCheck(JUnitLaunchConfigurationDelegate.java:347)
>
> at
> org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDeleg ate.launch(JUnitLaunchConfigurationDelegate.java:112)
>
> at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:853)
>
> at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:703)
>
> at
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:866)
>
> at
> org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlu gin.java:1069)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Previous Topic:Back in action
Next Topic:problem clicks and doubleclicks on table cells
Goto Forum:
  


Current Time: Wed Jun 25 04:17:42 EDT 2025

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

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

Back to the top