summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-22 23:59:10 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-22 23:59:10 (GMT)
commitc3008c1df3017d0b9a4280def69c99be181a3689 (patch)
tree44b9b8bd3f8a4779a95b77c12a5b795a7768611b
parent1042834e11befa48e615775e853ac0f4d4bef5af (diff)
downloadQt-c3008c1df3017d0b9a4280def69c99be181a3689.zip
Qt-c3008c1df3017d0b9a4280def69c99be181a3689.tar.gz
Qt-c3008c1df3017d0b9a4280def69c99be181a3689.tar.bz2
Check initial preferredHeight.
-rw-r--r--tests/auto/declarative/qmlgraphicswebview/tst_qmlgraphicswebview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlgraphicswebview/tst_qmlgraphicswebview.cpp b/tests/auto/declarative/qmlgraphicswebview/tst_qmlgraphicswebview.cpp
index 6bd28fb..543ba3f 100644
--- a/tests/auto/declarative/qmlgraphicswebview/tst_qmlgraphicswebview.cpp
+++ b/tests/auto/declarative/qmlgraphicswebview/tst_qmlgraphicswebview.cpp
@@ -143,6 +143,7 @@ void tst_qmlgraphicswebview::basicProperties()
QCOMPARE(strippedHtml(fileContents(SRCDIR "/data/basic.html")), strippedHtml(wv->html()));
QCOMPARE(wv->width(), 123.0);
QCOMPARE(wv->preferredWidth(), 0);
+ QCOMPARE(wv->preferredHeight(), 0);
QCOMPARE(wv->zoomFactor(), 1.0);
QCOMPARE(wv->url(), QUrl::fromLocalFile(SRCDIR "/data/basic.html"));
QCOMPARE(wv->status(), QmlGraphicsWebView::Ready);