diff options
Diffstat (limited to 'tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp')
-rw-r--r-- | tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp b/tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp index 9d9b55cafd..c11e47903d 100644 --- a/tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp +++ b/tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp @@ -111,6 +111,7 @@ private slots: void task177022_setFixedSize(); void task248107_backButton(); void task255350_fieldObjectDestroyed(); + void taskQTBUG_25691_fieldObjectDestroyed2(); /* Things that could be added: @@ -2643,5 +2644,15 @@ void tst_QWizard::task255350_fieldObjectDestroyed() delete page; } +// Global taskQTBUG_25691_fieldObjectDestroyed2 is defined in +// tst_qwizard_2.cpp to avoid cluttering up this file with +// the QWizardPage subclasses, etc. required to complete this +// test. +void taskQTBUG_25691_fieldObjectDestroyed2(void); +void tst_QWizard::taskQTBUG_25691_fieldObjectDestroyed2() +{ + ::taskQTBUG_25691_fieldObjectDestroyed2(); +} + QTEST_MAIN(tst_QWizard) #include "tst_qwizard.moc" |