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:
Bradley T. Hughes 2012-03-22 13:45:03 +01:00 committed by Qt by Nokia
parent 86104ac36a
commit 1a1c2b4075
3 changed files with 11 additions and 0 deletions

View File

@ -39,6 +39,12 @@
**
****************************************************************************/
#ifdef QT_GUI_LIB
# include <QtGui/QGuiApplication>
#else
# include <QtCore/QCoreApplication>
#endif
#include <QtTest/QtTest>
#include <qtimer.h>

View File

@ -6,6 +6,7 @@ SUBDIRS=\
qfileopenevent \
qguieventdispatcher \
qguimetatype \
qguitimer \
qguivariant \
qinputmethod \
qkeysequence \

View File

@ -0,0 +1,4 @@
CONFIG += testcase
TARGET = tst_qguitimer
QT = core gui testlib
SOURCES += ../../../corelib/kernel/qtimer/tst_qtimer.cpp