Changed selftests unittest to use specific headers instead of QtCore.

Changed selftests unittest to use specific classes of QtCore instead of
pulling in all of QtCore headers by using include <QtCore>
- Decreasing build time.

Change-Id: Ic53a70423ecafeb342cc05ae6d7dee795533d205
Reviewed-by: Kurt Korbatits  <kurt.korbatits@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
Kurt Korbatits 2012-01-10 10:28:42 +10:00 committed by Qt by Nokia
parent 226a7c77cb
commit 679c4c002d
27 changed files with 29 additions and 30 deletions

View File

@ -44,7 +44,7 @@
# undef QT_NO_DEBUG
#endif
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
class tst_Assert: public QObject

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
/*

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
/* This test must be explicitly enabled since there are no compile tests for valgrind.h */

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
/* Custom event dispatcher to ensure we don't receive any spontaneous events */

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
/* Custom event dispatcher to ensure we don't receive any spontaneous events */

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
#include <private/cycle_p.h>

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
class tst_BenchlibWalltime: public QObject

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
#include <QtGui/QImage>
#include <QtGui/QPixmap>

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
/*!

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
#ifdef Q_OS_WIN

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
/*!

View File

@ -40,11 +40,10 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtCore/QDateTime>
#include <QtTest/QtTest>
#include <QDateTime>
/*!
\internal
*/

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
class tst_ExpectFail: public QObject

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
class tst_FetchBogus: public QObject

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore/QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
#define TESTFILE "testfile"

View File

@ -39,7 +39,7 @@
**
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
#include <QDebug>

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
#include <QDebug>

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
char const lipsum[] =

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore/QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
class MaxWarnings: public QObject

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
class tst_QExecStringList: public QObject

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
class tst_SingleSkip: public QObject

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
class tst_Skip: public QObject

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
class tst_Sleep: public QObject

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
class tst_StrCmp: public QObject

View File

@ -40,9 +40,9 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtCore/QDebug>
#include <QtTest/QtTest>
#include <QDebug>
class tst_Subtest: public QObject
{

View File

@ -39,7 +39,7 @@
**
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtCore/QXmlStreamReader>
#include <QtCore/QFileInfo>
#include <QtCore/QDir>

View File

@ -40,7 +40,7 @@
****************************************************************************/
#include <QtCore>
#include <QtCore/QCoreApplication>
#include <QtTest/QtTest>
class tst_Warnings: public QObject