summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qnsview.mm
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@digia.com>2014-06-23 09:28:42 +0200
committerMorten Johan Sørvig <morten.sorvig@digia.com>2014-07-02 12:55:47 +0200
commitb942cf0f3b01a081d780b2f266253a149b39f9d0 (patch)
tree01efe6679a67601d80062349e676b9c095d170a2 /src/plugins/platforms/cocoa/qnsview.mm
parent769af6689337285927a2637b184149f688332542 (diff)
Make tst_QLocale::macDefaultLocale() more robust
The assumption that we can test "en_US" and expect it to behave a certain way is flawed in that most of the formatting settings are independently configurable by the end user. Make the test more robust while attempting to preserve as much testing as possible: Make the decimalPoint/groupSeparator tests check for a range of possible values. Check that they are not the same. Remove the date formatting tests and the firstDayOfWeek() == Sunday test. Make the time zone test accept a non zero extended time zone. ("GMT+2" in addition to "GMT+02".) Change-Id: Ie1f89793eb785f526c5f6fafbb6726ef8c6cb016 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qnsview.mm')
0 files changed, 0 insertions, 0 deletions