Skip to content
Permalink
Browse files

workaround for moc issue with app tests

  • Loading branch information
jef-n committed Sep 10, 2018
1 parent 8b606ce commit 3effd9ca59e76edcc39c987dc5519c830bef286c
@@ -121,7 +121,6 @@ class QgsDiagramProperties;
#include "qgswelcomepageitemsmodel.h"
#include "qgsruntimeprofiler.h"


#include "ui_qgisapp.h"

#ifdef HAVE_TOUCH
@@ -19,7 +19,10 @@
#include <QStringList>
#include <QtTest/QtTest>

#include <qgisapp.h>
#ifndef Q_MOC_RUN
#include "qgisapp.h"
#endif

#include <qgsapplication.h>
#include <qgsfeature.h>
#include <qgsfield.h>
@@ -19,7 +19,10 @@
#include <QStringList>
#include <QtTest/QtTest>

#include <qgisapp.h>
#ifndef Q_MOC_RUN
#include "qgisapp.h"
#endif

#include <qgsapplication.h>

/** \ingroup UnitTests
@@ -13,7 +13,9 @@
* *
***************************************************************************/
#include <QtTest/QtTest>
#ifndef Q_MOC_RUN
#include "qgisapp.h"
#endif
#include "qgsapplication.h"
#include "qgsvectorlayer.h"
#include "qgsfeature.h"
@@ -25,6 +27,7 @@
#include "qgsunittypes.h"
#include "qgsvectorfilewriter.h"


/** \ingroup UnitTests
* This is a unit test for the attribute table dialog
*/
@@ -13,7 +13,9 @@
* *
***************************************************************************/
#include <QtTest/QtTest>
#ifndef Q_MOC_RUN
#include "qgisapp.h"
#endif
#include "qgsapplication.h"
#include "qgsvectorlayer.h"
#include "qgsfeature.h"
@@ -14,6 +14,8 @@
***************************************************************************/

#include <QtTest/QtTest>
#ifndef Q_MOC_RUN
#include "qgisapp.h"
#include "qgsapplication.h"
#include "qgsvectorlayer.h"
#include "qgsrasterlayer.h"
@@ -24,9 +26,9 @@
#include "qgsmapcanvas.h"
#include "qgsunittypes.h"
#include "qgsmaptoolidentifyaction.h"
#include "qgisapp.h"
#include "qgsidentifymenu.h"
#include "qgsidentifyresultsdialog.h"
#endif

#include "cpl_conv.h"

@@ -14,14 +14,16 @@ Email : paul.blottiere@oslandia.com
***************************************************************************/

#include <QtTest/QtTest>
#ifndef Q_MOC_RUN
#include "qgisapp.h"
#endif
#include "qgsapplication.h"
#include "qgsmapcanvas.h"
#include "qgsvectorlayer.h"
#include "qgslinestringv2.h"
#include "qgsmaptoolreshape.h"
#include "qgsvectordataprovider.h"
#include "qgsmaplayerregistry.h"
#include "qgisapp.h"

class TestQgsMapToolReshape : public QObject
{
@@ -13,7 +13,9 @@
* *
***************************************************************************/
#include <QtTest/QtTest>
#ifndef Q_MOC_RUN
#include "qgisapp.h"
#endif
#include "qgsapplication.h"
#include "qgsvectorlayer.h"
#include "qgsfeature.h"
@@ -13,7 +13,9 @@
* *
***************************************************************************/
#include <QtTest/QtTest>
#ifndef Q_MOC_RUN
#include "qgisapp.h"
#endif
#include "qgsapplication.h"
#include "qgsvectorlayer.h"
#include "qgsfeature.h"
@@ -24,6 +26,7 @@
#include "qgsproject.h"
#include "qgsmapcanvas.h"


/** \ingroup UnitTests
* This is a unit test for the save as dialog
*/

0 comments on commit 3effd9c

Please sign in to comment.
You can’t perform that action at this time.