Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Main arguments for plugins tests
Main arguments for plugins tests [message #485038] Thu, 10 September 2009 06:35 Go to next message
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
Re: Main arguments for plugins tests [message #485281 is a reply to message #485038] Fri, 11 September 2009 04:00 Go to previous message
No real name is currently offline No real name
Messages: 18
Registered: July 2009
Junior Member
Oops,

sorry this message was for swtbot list...
Previous Topic:Updating custom Marker View
Next Topic:SWT programs don't work for me after Snow Leopard upgrade
Goto Forum:
  


Current Time: Thu Aug 21 16:20:41 EDT 2014

Powered by FUDForum. Page generated in 0.10764 seconds