]> git.saurik.com Git - wxWidgets.git/commit
Use setUp/tearDown() for NumFormatter test case locale setup.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 19 Jan 2011 15:08:11 +0000 (15:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 19 Jan 2011 15:08:11 +0000 (15:08 +0000)
commitd326d52cd98a6b394f9303371712b89d21f7d356
tree03b0e6e3419162c5198f40bd4f4bb43dfaa4933d
parent3d59540f8778262e3d9dd7d3bcdaf8da37f5fac0
Use setUp/tearDown() for NumFormatter test case locale setup.

Setting the locale in the ctor of the test object doesn't work because the
locale is changed by the other tests that run before this one, use the
initialization method provided by cppunit to change the locale instead, this
is somewhat wasteful but at least it does work, unlike the old version.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/strings/numformatter.cpp