[Jwebunit-development] [ jwebunit-Bugs-693598 ] setLocale has no effect
Brought to you by:
henryju
|
From: SourceForge.net <no...@so...> - 2004-06-28 23:34:36
|
Bugs item #693598, was opened at 2003-02-26 07:22 Message generated for change (Settings changed) made by jimweaver You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=693598&group_id=61302 Category: None Group: None Status: Open Resolution: Accepted Priority: 7 Submitted By: Markus (sorcerer13) >Assigned to: Nobody/Anonymous (nobody) Summary: setLocale has no effect Initial Comment: Setting a new locale using setLocale() in WebTester has no effect. getLocale() returns the locale set with setLocale(), but the locale "en_US" is sent to the server. Here is the code: public void setUp() { System.out.println ("old locale: " + getTestContext ().getLocale ()); getTestContext().setLocale (Locale.GERMAN); getTestContext().setBaseUrl(BASE_URL); System.out.println ("new locale: " + getTestContext ().getLocale ()); } ---------------------------------------------------------------------- Comment By: Jim Weaver (prospero2000us) Date: 2003-09-22 14:26 Message: Logged In: YES user_id=597548 This method was originally added to compare property file values against html results. It should also pass to httpunit as the browser locale. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=693598&group_id=61302 |