summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-07-01 08:47:37 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-07-01 08:47:37 (GMT)
commit07e755128c3bf4073820ecfc0ea11959b20bbd5a (patch)
treed5aef841e2ff2fe3e88acc16c5d7f3163881402e /tests
parentfa0ef7a2c36afffb45a7954eb8a230953578f55e (diff)
downloadQt-07e755128c3bf4073820ecfc0ea11959b20bbd5a.zip
Qt-07e755128c3bf4073820ecfc0ea11959b20bbd5a.tar.gz
Qt-07e755128c3bf4073820ecfc0ea11959b20bbd5a.tar.bz2
Get WebView tests passing again
zoomFactor was removed in the new version.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp b/tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp
index 2a220c4..2bded6b 100644
--- a/tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp
+++ b/tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp
@@ -158,7 +158,6 @@ void tst_qdeclarativewebview::basicProperties()
QCOMPARE(strippedHtml(fileContents(SRCDIR "/data/basic.html")), strippedHtml(wv->property("html").toString()));
QCOMPARE(wv->property("preferredWidth").toInt(), 0);
QCOMPARE(wv->property("preferredHeight").toInt(), 0);
- QCOMPARE(wv->property("zoomFactor").toDouble(), 1.0);
QCOMPARE(wv->property("url").toUrl(), QUrl::fromLocalFile(SRCDIR "/data/basic.html"));
QCOMPARE(wv->property("status").toInt(), 1 /*QDeclarativeWebView::Ready*/);
QVERIFY(qvariant_cast<QAction*>(wv->property("reload")));
@@ -258,7 +257,6 @@ void tst_qdeclarativewebview::historyNav()
QCOMPARE(wv->property("statusText").toString(),QString("status here"));
QCOMPARE(strippedHtml(fileContents(SRCDIR "/data/basic.html")), strippedHtml(wv->property("html").toString()));
QCOMPARE(wv->property("preferredWidth").toDouble(), 0.0);
- QCOMPARE(wv->property("zoomFactor").toDouble(), 1.0);
QCOMPARE(wv->property("url").toUrl(), QUrl::fromLocalFile(SRCDIR "/data/basic.html"));
QCOMPARE(wv->property("status").toInt(), 1 /*QDeclarativeWebView::Ready*/);
QVERIFY(qvariant_cast<QAction*>(wv->property("reload")));