Add tests/auto/gui/kernel/qguitimer
This test is like qguieventdispatcher, it duplicates a corelib test in the gui test suite, since the QtGui library often gets a different event dispatcher implementation from the platform plugin. Change-Id: Ifd724066950bc3b98a804bc2e5d40ce7b0429af4 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
parent
86104ac36a
commit
1a1c2b4075
@ -39,6 +39,12 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef QT_GUI_LIB
|
||||
# include <QtGui/QGuiApplication>
|
||||
#else
|
||||
# include <QtCore/QCoreApplication>
|
||||
#endif
|
||||
|
||||
#include <QtTest/QtTest>
|
||||
|
||||
#include <qtimer.h>
|
||||
|
@ -6,6 +6,7 @@ SUBDIRS=\
|
||||
qfileopenevent \
|
||||
qguieventdispatcher \
|
||||
qguimetatype \
|
||||
qguitimer \
|
||||
qguivariant \
|
||||
qinputmethod \
|
||||
qkeysequence \
|
||||
|
4
tests/auto/gui/kernel/qguitimer/qguitimer.pro
Normal file
4
tests/auto/gui/kernel/qguitimer/qguitimer.pro
Normal file
@ -0,0 +1,4 @@
|
||||
CONFIG += testcase
|
||||
TARGET = tst_qguitimer
|
||||
QT = core gui testlib
|
||||
SOURCES += ../../../corelib/kernel/qtimer/tst_qtimer.cpp
|
Loading…
Reference in New Issue
Block a user