Skip to main content


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 07:16 Go to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
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 16:56 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
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:NPE while recording
Next Topic:Getting Widget is Disposed Error in Tree
Goto Forum:
  


Current Time: Tue Mar 19 10:15:33 GMT 2024

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

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

Back to the top