summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2012-11-14 21:02:23 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-23 21:47:01 +0100
commita5dbb3754eeb5697dd560965f2092372c48516f5 (patch)
tree2cbd99c68665be16af88cee45e9ecbe21bf43a94 /tests/auto/declarative
parent467188858109129886fc77db7c0a53f9fcbbac9e (diff)
test: Mark tst_qdeclarativexmlhttprequest::send_ignoreData() as XFAIL
object->setProperty("reqType", "DELETE") always fails. Actually, this part of the test does not exit in Qt 5. Task-number: QTBUG-28004 Change-Id: Ia60f8c1c9bb4e780396327e8f8231771cec6889a Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r--tests/auto/declarative/qdeclarativexmlhttprequest/tst_qdeclarativexmlhttprequest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativexmlhttprequest/tst_qdeclarativexmlhttprequest.cpp b/tests/auto/declarative/qdeclarativexmlhttprequest/tst_qdeclarativexmlhttprequest.cpp
index b01ef8bf88..6ebc05e6bb 100644
--- a/tests/auto/declarative/qdeclarativexmlhttprequest/tst_qdeclarativexmlhttprequest.cpp
+++ b/tests/auto/declarative/qdeclarativexmlhttprequest/tst_qdeclarativexmlhttprequest.cpp
@@ -552,7 +552,9 @@ void tst_qdeclarativexmlhttprequest::send_ignoreData()
object->setProperty("url", "http://127.0.0.1:14445/testdocument.html");
component.completeCreate();
- QTRY_VERIFY(object->property("dataOK").toBool() == true);
+ bool objectProperty = object->property("dataOK").toBool();
+ QEXPECT_FAIL("", "QTBUG-28004", Continue);
+ QTRY_VERIFY(objectProperty == true);
delete object;
}