GUI: Fix tests

This commit is contained in:
Daniel Marjamäki 2019-04-19 07:39:43 +02:00
parent 7799ed4243
commit fee01099a9
18 changed files with 13 additions and 12 deletions

View File

@ -16,7 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtTest>
#include <QObject>
#include <QFile>
#include <QString>

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtTest>
#include <QtTest/QtTest>
#include <QObject>
#include "errorlogger.h"

View File

@ -5,6 +5,8 @@ INCLUDEPATH += .
OBJECTS_DIR = ../../build
MOC_DIR = ../../build
QT += testlib
include(../../common.pri)
DEFINES += SRCDIR=\\\"$$PWD\\\"

View File

@ -4,6 +4,7 @@ DEPENDPATH += .
INCLUDEPATH += .
OBJECTS_DIR = ../build
MOC_DIR = ../build
QT += testlib
include(../common.pri)

View File

@ -16,7 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtTest>
#include <QObject>
#include <QDir>
#include <QString>

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtTest>
#include <QtTest/QtTest>
#include <QObject>
class TestFileList: public QObject {

View File

@ -4,6 +4,7 @@ DEPENDPATH += .
INCLUDEPATH += .
OBJECTS_DIR = ../build
MOC_DIR = ../build
QT += widgets testlib
include(../common.pri)

View File

@ -16,7 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtTest>
#include <QObject>
#include "testprojectfile.h"
#include "projectfile.h"

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtTest>
#include <QtTest/QtTest>
#include <QObject>
class TestProjectFile: public QObject {

View File

@ -16,7 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtTest>
#include <QObject>
#include "testtranslationhandler.h"
#include "translationhandler.h"

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtTest>
#include <QtTest/QtTest>
#include <QObject>
class TestTranslationHandler: public QObject {

View File

@ -4,6 +4,7 @@ DEPENDPATH += .
INCLUDEPATH += .
OBJECTS_DIR = ../build
MOC_DIR = ../build
QT += widgets testlib
include(../common.pri)

View File

@ -16,7 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtTest>
#include <QObject>
#include "testxmlreport.h"
#include "xmlreport.h"

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtTest>
#include <QtTest/QtTest>
#include <QObject>
class TestXmlReport: public QObject {

View File

@ -4,6 +4,7 @@ DEPENDPATH += .
INCLUDEPATH += .
OBJECTS_DIR = ../build
MOC_DIR = ../build
QT += testlib
include(../common.pri)

View File

@ -16,7 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtTest>
#include <QObject>
#include "testxmlreportv2.h"
#include "xmlreportv2.h"

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtTest>
#include <QtTest/QtTest>
#include <QObject>
class TestXmlReportV2: public QObject {

View File

@ -4,6 +4,7 @@ DEPENDPATH += .
INCLUDEPATH += .
OBJECTS_DIR = ../build
MOC_DIR = ../build
QT += testlib
include(../common.pri)