151
156
QCOMPARE(qvariant_cast<QPixmap>(wv->property("icon")),QPixmap(SRCDIR "/data/basic.png"));
152
157
QCOMPARE(wv->property("statusText").toString(),QString("status here"));
153
158
QCOMPARE(strippedHtml(fileContents(SRCDIR "/data/basic.html")), strippedHtml(wv->property("html").toString()));
155
159
QCOMPARE(wv->property("preferredWidth").toInt(), 0);
156
160
QCOMPARE(wv->property("preferredHeight").toInt(), 0);
158
161
QCOMPARE(wv->property("url").toUrl(), QUrl::fromLocalFile(SRCDIR "/data/basic.html"));
159
162
QCOMPARE(wv->property("status").toInt(), 1 /*QDeclarativeWebView::Ready*/);
160
163
QVERIFY(qvariant_cast<QAction*>(wv->property("reload")));