diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-04-03 19:56:04 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-04-04 09:37:50 +0000 |
commit | c7e98f4cb9717dcf267f23bf2e8ca57cdc874b84 (patch) | |
tree | 70ada9cc2055ffd6431b787af33d3aeabb8485ba /tests | |
parent | 88a62b3b910d09324dbbef3e1e791659ecd6537f (diff) |
StackView: resolve relative URLs to the caller
Task-number: QTBUG-59309
Change-Id: I3c19d55431dd4831c4510acb5ef0e9fffa8f478f
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/controls/data/tst_stackview.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/controls/data/tst_stackview.qml b/tests/auto/controls/data/tst_stackview.qml index c56a04de..37bd5222 100644 --- a/tests/auto/controls/data/tst_stackview.qml +++ b/tests/auto/controls/data/tst_stackview.qml @@ -1101,4 +1101,13 @@ TestCase { control.destroy() } + + function test_resolve() { + var control = createTemporaryObject(stackView, testCase) + verify(control) + + var item = control.push("TestItem.qml") + compare(control.depth, 1) + verify(item) + } } |