From d8aaf0f1823e1bcbfb687ac964187332b5c90259 Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Wed, 17 Mar 2010 12:19:34 +1000 Subject: Verbose unexpected errors. --- tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp | 3 +-- 1 file changed, 1 insertion(+), 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 errors = component.errors(); -- cgit v0.12