Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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:NPE while recording
Next Topic:Getting Widget is Disposed Error in Tree
Goto Forum:
  


Current Time: Wed Jul 23 08:32:04 EDT 2025

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

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

Back to the top