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: 2595
Registered: July 2012
Senior Member

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?

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, away until January 8th is currently offline Mickael Istria, away until January 8thFriend
Messages: 828
Registered: July 2009
Location: Grenoble, France
Senior Member

This is more something you should ask to on the tycho-user mailing-list.
Mickael Istria
JBoss, by Red Hat
My blog:
My Tweets:
Previous Topic:NPE while recording
Next Topic:Getting Widget is Disposed Error in Tree
Goto Forum:

Current Time: Sat May 26 08:25:22 GMT 2018

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

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

Back to the top