diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-02-23 12:24:52 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-01 16:36:02 +0100 |
commit | ef9eba82884c73816562f23aa89fd007310eb259 (patch) | |
tree | c432487be87c667cccc7371594b460e1e0491c62 /tests/auto/controls/data/tst_scrollview.qml | |
parent | caafedc9ef8acbe414271ab30d745a34e8e43984 (diff) | |
download | qtquickcontrols-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.qml | 6 |
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") } } |