Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Main arguments for plugins tests
Main arguments for plugins tests [message #485287] Fri, 11 September 2009 04:01
No real name is currently offline No real name
Messages: 18
Registered: July 2009
Junior Member
Hey,

there is a difference between EclipseAppLauncher.runApplication() and
swt's UITestApplication.start() regarding main arguments :

EclipseAppLauncher.runApplication() removes eclipse specific arguments :
this behavior allows easy arguments parsing.

but UITestApplication.start() keeps SWTBot specific arguments like
"-port" or "-testLoaderClass" in the main (start) method.
This behavior could lead to unknown arguments parse error (like apache
CLI does).

Shouldn't UITestApplication remove SWTbot's arguments before calling
start() method ?


(NB I use version 2.0.0.371)

Cheers,
Guillaume
Previous Topic:Problem with bot.viewByTitle()
Next Topic:typeText not accepting typeText ("\"\");
Goto Forum:
  


Current Time: Wed Apr 16 03:30:15 EDT 2014

Powered by FUDForum. Page generated in 0.19271 seconds