summaryrefslogtreecommitdiffstats
path: root/tests/auto/qstring
diff options
context:
space:
mode:
authorCarlos Manuel Duclos Vergara <carlos.duclos@nokia.com>2011-01-28 14:03:32 (GMT)
committerCarlos Manuel Duclos Vergara <carlos.duclos@nokia.com>2011-01-28 14:53:50 (GMT)
commit05d8caa4c42b5539d993a898830307c21cb942b6 (patch)
tree481bd91ec0b388c8d9d1598c57604c35c088b022 /tests/auto/qstring
parentaac8c2678867ae86af846a2644e37b3d1436406a (diff)
downloadQt-05d8caa4c42b5539d993a898830307c21cb942b6.zip
Qt-05d8caa4c42b5539d993a898830307c21cb942b6.tar.gz
Qt-05d8caa4c42b5539d993a898830307c21cb942b6.tar.bz2
Incorrect comparison result in QString::locale
The problem is that we are not able to set the locale in Symbian, therefore this test becomes unreliable since it depends on a particular locale being defined. We are disabling this test for now. Task-number: QTBUG-16921 Reviewed-by: Shane Kearns
Diffstat (limited to 'tests/auto/qstring')
-rw-r--r--tests/auto/qstring/tst_qstring.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qstring/tst_qstring.cpp b/tests/auto/qstring/tst_qstring.cpp
index 969521f..abc8d9a 100644
--- a/tests/auto/qstring/tst_qstring.cpp
+++ b/tests/auto/qstring/tst_qstring.cpp
@@ -4319,6 +4319,9 @@ void tst_QString::localeAwareCompare_data()
void tst_QString::localeAwareCompare()
{
+#ifdef Q_OS_SYMBIAN
+ QSKIP("QTBUG-16921: There is no way to set up the system locale, so this test is not reliable in Symbian.");
+#else
#ifdef Q_OS_WIN
# ifndef Q_OS_WINCE
QSKIP("On others than Win CE, we cannot set the system or user locale.", SkipAll);
@@ -4416,6 +4419,7 @@ void tst_QString::localeAwareCompare()
if (!locale.isEmpty())
setlocale(LC_ALL, "");
#endif
+#endif // Q_OS_SYMBIAN
}
void tst_QString::split_data()