diff options
author | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-10-01 18:08:51 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-10-01 16:14:50 +0000 |
commit | a21a33fe79e82a7bd3471612b46106ac1343648f (patch) | |
tree | 15ed71f2f7617b69267cd7a7ba8006fd8485480f /tests/auto | |
parent | b27a01a86e614207025e569926d0c419857e8965 (diff) | |
download | qtquickcontrols-a21a33fe79e82a7bd3471612b46106ac1343648f.tar.gz |
Fix failing Tumbler tests on OS X
By default, it’s not possible to tab into certain controls.
Change-Id: Ia0941e5016926f65ab58a7391d6271d15b0c5248
Task-number: QTBUG-46393
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/extras/data/tst_tumbler.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/extras/data/tst_tumbler.qml b/tests/auto/extras/data/tst_tumbler.qml index bc97f35d..9f3ecc2f 100644 --- a/tests/auto/extras/data/tst_tumbler.qml +++ b/tests/auto/extras/data/tst_tumbler.qml @@ -175,6 +175,9 @@ Item { } function test_keyboardNavigation() { + if (Qt.platform.os === "osx") + skip("OS X doesn't allow tab focus for certain controls by default"); + var column = simpleColumn.createObject(tumbler); compare(tumbler.addColumn(column), column); column = simpleColumn.createObject(tumbler); @@ -244,6 +247,9 @@ Item { } function test_itemsCorrectlyPositioned() { + if (Qt.platform.os === "osx") + skip("OS X doesn't allow tab focus for certain controls by default"); + // TODO: rewrite this test so that it tests supported usecases. // Somehow it works with the Base style. It could be rewritten to use an // equal amount of items for the model and visibleItemCount, judging from @@ -346,6 +352,9 @@ Item { } function test_focusPastLastColumn() { + if (Qt.platform.os === "osx") + skip("OS X doesn't allow tab focus for certain controls by default"); + var column = dayOfMonthColumn.createObject(tumbler); compare(tumbler.addColumn(column), column); column = yearColumn.createObject(tumbler); |