]> git.saurik.com Git - wxWidgets.git/commit
Run MBConvTestCase::LibcTests() only for MSVC and not other Windows compilers.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Oct 2010 17:15:46 +0000 (17:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Oct 2010 17:15:46 +0000 (17:15 +0000)
commit12249b199d934303a4043fa53717683d6d5ff208
tree67852bfb8380d173c02114d8dbebaca2ab803d41
parent5d509cacfb175ccec06847865a3e1c9f6e645c3a
Run MBConvTestCase::LibcTests() only for MSVC and not other Windows compilers.

This test fails for MinGW, probably because its CRT doesn't use the same
locale names as MSVC CRT. Just disable it for now, as it was already disabled
for non-MSW platforms.

Also use LocaleSetter class (extracted from CLocaleSetter) to change the
locale for this test duration only to avoid affecting any tests running after
it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/mbconv/mbconvtest.cpp
tests/testprec.h