summaryrefslogtreecommitdiff
path: root/tests/auto/controls/data/tst_scrollview.qml
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-02-23 12:24:52 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-01 16:36:02 +0100
commitef9eba82884c73816562f23aa89fd007310eb259 (patch)
treec432487be87c667cccc7371594b460e1e0491c62 /tests/auto/controls/data/tst_scrollview.qml
parentcaafedc9ef8acbe414271ab30d745a34e8e43984 (diff)
downloadqtquickcontrols-ef9eba82884c73816562f23aa89fd007310eb259.tar.gz
Update TabView API and allow inser/remove of tabs
Change-Id: I6b10f539b036811243676f34c0fabe403c263923 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'tests/auto/controls/data/tst_scrollview.qml')
-rw-r--r--tests/auto/controls/data/tst_scrollview.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/controls/data/tst_scrollview.qml b/tests/auto/controls/data/tst_scrollview.qml
index 95c6cccf..1d8651ed 100644
--- a/tests/auto/controls/data/tst_scrollview.qml
+++ b/tests/auto/controls/data/tst_scrollview.qml
@@ -92,7 +92,7 @@ TestCase {
verify(scrollView.viewport, "Viewport not defined")
verify(!scrollView.contentItem, "contentItem should be null")
verify(!scrollView.flickableItem, "flickableItem should be null")
- verify(!scrollView.frame, "Frame should be false")
+ verify(!scrollView.frameVisible, "Frame should be false")
scrollView.contentItem = textArea
verify(scrollView.viewport, "Viewport should be defined")
@@ -101,8 +101,8 @@ TestCase {
verify(scrollView.flickableItem.contentHeight === textArea.height, "Content height not set")
var prevViewportWidth = scrollView.viewport.width
- scrollView.frame = true
- verify(scrollView.frame, "Frame should be true")
+ scrollView.frameVisible = true
+ verify(scrollView.frameVisible, "Frame should be true")
verify(scrollView.viewport.width < prevViewportWidth, "Viewport should be smaller with frame")
}
}