diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-06-20 21:32:04 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-06-20 21:32:29 +0200 |
commit | f5bee820aec44b22843299c25c5bd03e090c60bb (patch) | |
tree | 3c486bcc3f5031565ebae626bbec613625f29bd6 /tests/auto/controls/data/tst_stackview.qml | |
parent | a2ab56bc3d778c7a5e30f58d0d29116ec6da793a (diff) | |
parent | c75ca309916ae1fec31ab37f25a7ddf9ea3c150a (diff) |
Merge remote-tracking branch 'origin/5.7' into dev
Conflicts:
src/quicktemplates2/qquickcontainer.cpp
Change-Id: I7c41619a81b4fdd0d8ccaa4f0bb489a9b84e3865
Diffstat (limited to 'tests/auto/controls/data/tst_stackview.qml')
-rw-r--r-- | tests/auto/controls/data/tst_stackview.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/controls/data/tst_stackview.qml b/tests/auto/controls/data/tst_stackview.qml index 3cf3d011..7d49962a 100644 --- a/tests/auto/controls/data/tst_stackview.qml +++ b/tests/auto/controls/data/tst_stackview.qml @@ -411,6 +411,11 @@ TestCase { compare(control.depth, 6) compare(control.currentItem, items[5]) + // pop down to the current item + compare(control.pop(control.currentItem, StackView.Immediate), null) + compare(control.depth, 6) + compare(control.currentItem, items[5]) + // pop down to (but not including) the Nth item compare(control.pop(items[3], StackView.Immediate), items[5]) compare(control.depth, 4) |