|Setting the Locale for SWTBot headless tests [message #1087850]
||Fri, 16 August 2013 07:16
| Dirk Fauth
Registered: July 2012
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?
Powered by FUDForum
. Page generated in 0.14040 seconds