~ubuntu-sdk-team/ubuntu-ui-toolkit/staging

« back to all changes in this revision

Viewing changes to tests/unit/testparser/main.cpp

  • Committer: Tarmac
  • Author(s): Loïc Molinari
  • Date: 2016-09-12 16:04:18 UTC
  • mfrom: (2090.1.7 uitk-test)
  • Revision ID: tarmac-20160912160418-3murc3kypk2jwamk
Fixed, cleaned up and standardised header inclusions.

Apart from the clean up and the readability improvements, this fixes a bunch of broken private header inclusions (#include "foo_p.h" in private headers instead of "private/foo_p.h" or better <Project/private/foo_p.h>), now all the private headers of the UITK can be included by the users withour compilation issues. It also removes a bunch of direct includes from sources and a few INCLUDEPATHs hacks.

See the CODING file for more details.

Approved by ubuntu-sdk-build-bot, Zsombor Egri.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 * Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com>
17
17
 */
18
18
 
19
 
#include <QCoreApplication>
20
 
#include <QDebug>
21
 
#include <QDir>
22
 
 
23
 
#include <QFileInfoList>
24
 
#include <QProcess>
25
 
#include <QDomDocument>
26
 
#include <QDateTime>
 
19
#include <QtCore/QCoreApplication>
 
20
#include <QtCore/QDateTime>
 
21
#include <QtCore/QDebug>
 
22
#include <QtCore/QDir>
 
23
#include <QtCore/QFileInfoList>
 
24
#include <QtCore/QProcess>
 
25
#include <QtXml/QDomDocument>
27
26
 
28
27
QStringList _testReports;
29
28
int _testcaseCounter;