Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Setting the Locale for SWTBot headless tests
Setting the Locale for SWTBot headless tests [message #1087850] Fri, 16 August 2013 03:16 Go to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1255
Registered: July 2012
Senior Member
Hi,

we are trying to execute our SWTBot testcases headless with Maven Tycho. This works very well so far. There is just one thing we don't know how to handle.

Our application is localized. So for example we want to start the application with Locale "de" and write testcases regarding the labels on dialog buttons. This is just a test to ensure the Babel project is correctly loaded in the target platform, as on update the old update sites just get removed.

Now on running the SWTBot tests out of Eclipse, the Locale is set correctly using the launching arguments in the product definition "-nl de". Running the tests with Tycho, the Locale "en" is used. Even the default Locale (Locale.getDefault()) in the executing system is set to "de_DE".

Is there anything else to configure so the headless builds are also using the product configuration launching arguments? Or is there a way to configure the Locale for running the tests headlessly?

Greez,
Dirk
Re: Setting the Locale for SWTBot headless tests [message #1090059 is a reply to message #1087850] Mon, 19 August 2013 12:56 Go to previous message
Mickael Istria is currently offline Mickael Istria
Messages: 741
Registered: July 2009
Location: Grenoble, France
Senior Member
This is more something you should ask to on the tycho-user mailing-list.
HTH
--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Previous Topic:How to select an Item in ComboBox of a Tree..
Next Topic:Getting Widget is Disposed Error in Tree
Goto Forum:
  


Current Time: Fri Aug 22 08:07:24 EDT 2014

Powered by FUDForum. Page generated in 0.06829 seconds