diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-11-02 15:52:42 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-11-02 16:27:51 +0000 |
commit | c4a5b64abacad55e8b805bc1b1eaa877b0c945bb (patch) | |
tree | cd0f1f9034eac091522d32e9678b7690540adaf2 /tests/auto/accessibility | |
parent | d262e1c4deb46f19afa69c632f30de124941bb14 (diff) |
tst_accessibility: add RoundButton
Change-Id: I6ea5d2ac6c72b469c1916d72dc81352a09646006
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/accessibility')
-rw-r--r-- | tests/auto/accessibility/data/roundbutton.qml | 6 | ||||
-rw-r--r-- | tests/auto/accessibility/tst_accessibility.cpp | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/accessibility/data/roundbutton.qml b/tests/auto/accessibility/data/roundbutton.qml new file mode 100644 index 00000000..8edf58de --- /dev/null +++ b/tests/auto/accessibility/data/roundbutton.qml @@ -0,0 +1,6 @@ +import QtQuick 2.5 +import QtQuick.Controls 2.1 + +RoundButton { + text: "RoundButton" +} diff --git a/tests/auto/accessibility/tst_accessibility.cpp b/tests/auto/accessibility/tst_accessibility.cpp index 520f6ef2..d61a4e7f 100644 --- a/tests/auto/accessibility/tst_accessibility.cpp +++ b/tests/auto/accessibility/tst_accessibility.cpp @@ -83,6 +83,7 @@ void tst_accessibility::a11y_data() QTest::newRow("ProgressBar") << "progressbar" << 0x00000030 << ""; //QAccessible::ProgressBar QTest::newRow("RadioButton") << "radiobutton" << 0x0000002D << "RadioButton"; //QAccessible::RadioButton QTest::newRow("RangeSlider") << "rangeslider" << 0x00000033 << ""; //QAccessible::Slider + QTest::newRow("RoundButton") << "roundbutton" << 0x0000002B << "RoundButton"; //QAccessible::Button QTest::newRow("ScrollBar") << "scrollbar" << 0x00000003 << ""; //QAccessible::ScrollBar QTest::newRow("ScrollIndicator") << "scrollindicator" << 0x00000027 << ""; //QAccessible::Indicator QTest::newRow("Slider") << "slider" << 0x00000033 << ""; //QAccessible::Slider |