summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdom
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@trolltech.com>2009-09-30 12:03:45 (GMT)
committerAlexis Menard <alexis.menard@trolltech.com>2009-09-30 12:04:29 (GMT)
commit21cfe5bf6550ae359d6bfa937b1308891954e9bb (patch)
treeb114b802c3fe8d5e4d26ecbcaa908b1b9aa4cee6 /tests/auto/qdom
parentd48b960a20c125a4cd7f906a89046116e3c8b376 (diff)
downloadQt-21cfe5bf6550ae359d6bfa937b1308891954e9bb.zip
Qt-21cfe5bf6550ae359d6bfa937b1308891954e9bb.tar.gz
Qt-21cfe5bf6550ae359d6bfa937b1308891954e9bb.tar.bz2
Make the test fail, not crash for now. A task is already open to fix it.
Reviewed-by:jesper
Diffstat (limited to 'tests/auto/qdom')
-rw-r--r--tests/auto/qdom/tst_qdom.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qdom/tst_qdom.cpp b/tests/auto/qdom/tst_qdom.cpp
index 6637202..6987186 100644
--- a/tests/auto/qdom/tst_qdom.cpp
+++ b/tests/auto/qdom/tst_qdom.cpp
@@ -1908,7 +1908,8 @@ void tst_QDom::taskQTBUG4595_dontAssertWhenDocumentSpecifiesUnknownEncoding() co
QDomDocument d;
QVERIFY(d.setContent(xmlWithUnknownEncoding));
- QString dontAssert = d.toString(); // this should not assert
+ //QString dontAssert = d.toString(); // this should not assert
+ QVERIFY2(false, "Line above crashes but we still want to run all tests.");
QVERIFY(true);
}