diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2012-10-07 16:09:46 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-13 05:51:19 +0200 |
commit | 491247acd4b12ce563ecaa67cd144ff073d84cc4 (patch) | |
tree | 850ed78977999a18cd599c1ef3b4229b0f51f472 /tests/auto | |
parent | 49f277482e86d21edf9a055229100486aaf8b4c0 (diff) |
Make QValidator tests do not require a QApplication
Change-Id: I9aae997e33672203470b0429cc061a1adf88dfe9
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/gui/util/qintvalidator/tst_qintvalidator.cpp | 2 | ||||
-rw-r--r-- | tests/auto/gui/util/qregexpvalidator/tst_qregexpvalidator.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/gui/util/qintvalidator/tst_qintvalidator.cpp b/tests/auto/gui/util/qintvalidator/tst_qintvalidator.cpp index a000bbebcc..1bdb17682f 100644 --- a/tests/auto/gui/util/qintvalidator/tst_qintvalidator.cpp +++ b/tests/auto/gui/util/qintvalidator/tst_qintvalidator.cpp @@ -286,5 +286,5 @@ void tst_QIntValidator::notifySignals() QCOMPARE(changedSpy.count(), 6); } -QTEST_MAIN(tst_QIntValidator) +QTEST_APPLESS_MAIN(tst_QIntValidator) #include "tst_qintvalidator.moc" diff --git a/tests/auto/gui/util/qregexpvalidator/tst_qregexpvalidator.cpp b/tests/auto/gui/util/qregexpvalidator/tst_qregexpvalidator.cpp index 77075372f8..b3631d2016 100644 --- a/tests/auto/gui/util/qregexpvalidator/tst_qregexpvalidator.cpp +++ b/tests/auto/gui/util/qregexpvalidator/tst_qregexpvalidator.cpp @@ -122,5 +122,5 @@ void tst_QRegExpValidator::validate() QCOMPARE(changedSpy.count(), 1); } -QTEST_MAIN(tst_QRegExpValidator) +QTEST_APPLESS_MAIN(tst_QRegExpValidator) #include "tst_qregexpvalidator.moc" |