summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-03-17 02:19:34 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-03-17 02:21:59 (GMT)
commitd8aaf0f1823e1bcbfb687ac964187332b5c90259 (patch)
treeae49059046ee68194f2ce119a8b2f1bc9d3dfa7e /tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp
parent83000e5def6787df01be6b8b423cb4aeadc2d9d1 (diff)
downloadQt-d8aaf0f1823e1bcbfb687ac964187332b5c90259.zip
Qt-d8aaf0f1823e1bcbfb687ac964187332b5c90259.tar.gz
Qt-d8aaf0f1823e1bcbfb687ac964187332b5c90259.tar.bz2
Verbose unexpected errors.
Diffstat (limited to 'tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp')
-rw-r--r--tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp b/tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp
index b63e14b..91115e4 100644
--- a/tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp
+++ b/tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp
@@ -122,8 +122,7 @@ void tst_qdeclarativewebview::cleanupTestCase()
void tst_qdeclarativewebview::checkNoErrors(const QDeclarativeComponent& component)
{
// Wait until the component is ready
- QTRY_VERIFY(component.isReady());
-
+ QTRY_VERIFY(component.isReady() || component.isError());
if (component.isError()) {
QList<QDeclarativeError> errors = component.errors();