diff options
Diffstat (limited to 'tests/auto/controls/data/tst_dialog.qml')
-rw-r--r-- | tests/auto/controls/data/tst_dialog.qml | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/tests/auto/controls/data/tst_dialog.qml b/tests/auto/controls/data/tst_dialog.qml index e2557a04..1bfffc1d 100644 --- a/tests/auto/controls/data/tst_dialog.qml +++ b/tests/auto/controls/data/tst_dialog.qml @@ -48,10 +48,10 @@ ** ****************************************************************************/ -import QtQuick 2.4 +import QtQuick 2.12 import QtTest 1.0 -import QtQuick.Controls 2.2 -import QtQuick.Templates 2.2 as T +import QtQuick.Controls 2.12 +import QtQuick.Templates 2.12 as T TestCase { id: testCase @@ -67,6 +67,14 @@ TestCase { } Component { + id: qtbug71444 + Dialog { + header: null + footer: null + } + } + + Component { id: buttonBox DialogButtonBox { } } @@ -198,6 +206,11 @@ TestCase { compare(rejectedSpy.count, 1) } + function test_qtbug71444() { + var control = createTemporaryObject(qtbug71444, testCase) + verify(control) + } + function test_standardButtons() { var control = createTemporaryObject(dialog, testCase) |