summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-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 f33e5a4..2a220c4 100644
--- a/tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp
+++ b/tests/auto/declarative/qdeclarativewebview/tst_qdeclarativewebview.cpp
@@ -156,7 +156,6 @@ void tst_qdeclarativewebview::basicProperties()
QCOMPARE(qvariant_cast<QPixmap>(wv->property("icon")),QPixmap(SRCDIR "/data/basic.png"));
QCOMPARE(wv->property("statusText").toString(),QString("status here"));
QCOMPARE(strippedHtml(fileContents(SRCDIR "/data/basic.html")), strippedHtml(wv->property("html").toString()));
- QCOMPARE(wv->property("width").toDouble(), 123.0);
QCOMPARE(wv->property("preferredWidth").toInt(), 0);
QCOMPARE(wv->property("preferredHeight").toInt(), 0);
QCOMPARE(wv->property("zoomFactor").toDouble(), 1.0);
@@ -258,7 +257,6 @@ void tst_qdeclarativewebview::historyNav()
QCOMPARE(qvariant_cast<QPixmap>(wv->property("icon")),QPixmap(SRCDIR "/data/basic.png"));
QCOMPARE(wv->property("statusText").toString(),QString("status here"));
QCOMPARE(strippedHtml(fileContents(SRCDIR "/data/basic.html")), strippedHtml(wv->property("html").toString()));
- QCOMPARE(wv->property("width").toDouble(), 123.0);
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"));