summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-01-11 05:03:12 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-01-11 05:03:12 (GMT)
commit349f93700f58611bc7f2f244c4f19fb4e8c986e4 (patch)
tree668aec74de2e9749026b16ba00d7d8ed5fd6ce28
parentcf571ec8471d611c737e998e96b202eb118d29c8 (diff)
downloadQt-349f93700f58611bc7f2f244c4f19fb4e8c986e4.zip
Qt-349f93700f58611bc7f2f244c4f19fb4e8c986e4.tar.gz
Qt-349f93700f58611bc7f2f244c4f19fb4e8c986e4.tar.bz2
document test weakness
-rw-r--r--tests/auto/declarative/xmlhttprequest/tst_xmlhttprequest.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/declarative/xmlhttprequest/tst_xmlhttprequest.cpp b/tests/auto/declarative/xmlhttprequest/tst_xmlhttprequest.cpp
index e74d1c5..dc48195 100644
--- a/tests/auto/declarative/xmlhttprequest/tst_xmlhttprequest.cpp
+++ b/tests/auto/declarative/xmlhttprequest/tst_xmlhttprequest.cpp
@@ -57,6 +57,12 @@ public:
tst_xmlhttprequest() {}
private slots:
+ void initTestCase() {
+ if (QLocale::system().name().replace(QChar::fromAscii('_'),QChar::fromAscii('-')) != QLatin1String("en-US")) {
+ qWarning() << "Test will fail unless LANG is en_US";
+ }
+ }
+
void domExceptionCodes();
void staticStateValues();
void instanceStateValues();