Test: remove QSKIP from tst_qstring
authorCaroline Chao <caroline.chao@digia.com>
Wed, 17 Oct 2012 10:25:20 +0000 (12:25 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 25 Oct 2012 14:22:39 +0000 (16:22 +0200)
commit044f5b7fb8695423c2a44c899ce61383c8286a0c
tree72042c16a404d2b7d35ff7028274e204d97f0336
parentf45d6414ad6ef1d75f049a61411cd954bcae29c3
Test: remove QSKIP from tst_qstring

Instead omit the whole tests when appropriate.

In particular:

- When Q_CC_HPACC is defined the tests fromStdString and toStdString are
crashing. Omit the tests in this configuration since the compiler is not
supported.

- Clean the localeAwareCompare() by removing the code where Q_OS_WIN is
defined but not Q_OS_WINCE. System and user locale cannot be set on
Q_OS_WIN other than Win CE and some code could never be reached.

Change-Id: I72ae3246bf8c2a73d14cce45dde14bcb8001d8b3
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
tests/auto/corelib/tools/qstring/tst_qstring.cpp