GUI: Fix tests
This commit is contained in:
parent
7799ed4243
commit
fee01099a9
|
@ -16,7 +16,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <QtTest>
|
||||
#include <QObject>
|
||||
#include <QFile>
|
||||
#include <QString>
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@ INCLUDEPATH += .
|
|||
OBJECTS_DIR = ../../build
|
||||
MOC_DIR = ../../build
|
||||
|
||||
QT += testlib
|
||||
|
||||
include(../../common.pri)
|
||||
|
||||
DEFINES += SRCDIR=\\\"$$PWD\\\"
|
||||
|
|
|
@ -4,6 +4,7 @@ DEPENDPATH += .
|
|||
INCLUDEPATH += .
|
||||
OBJECTS_DIR = ../build
|
||||
MOC_DIR = ../build
|
||||
QT += testlib
|
||||
|
||||
include(../common.pri)
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <QtTest>
|
||||
#include <QObject>
|
||||
#include <QDir>
|
||||
#include <QString>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -4,6 +4,7 @@ DEPENDPATH += .
|
|||
INCLUDEPATH += .
|
||||
OBJECTS_DIR = ../build
|
||||
MOC_DIR = ../build
|
||||
QT += widgets testlib
|
||||
|
||||
include(../common.pri)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -4,6 +4,7 @@ DEPENDPATH += .
|
|||
INCLUDEPATH += .
|
||||
OBJECTS_DIR = ../build
|
||||
MOC_DIR = ../build
|
||||
QT += widgets testlib
|
||||
|
||||
include(../common.pri)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -4,6 +4,7 @@ DEPENDPATH += .
|
|||
INCLUDEPATH += .
|
||||
OBJECTS_DIR = ../build
|
||||
MOC_DIR = ../build
|
||||
QT += testlib
|
||||
|
||||
include(../common.pri)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -4,6 +4,7 @@ DEPENDPATH += .
|
|||
INCLUDEPATH += .
|
||||
OBJECTS_DIR = ../build
|
||||
MOC_DIR = ../build
|
||||
QT += testlib
|
||||
|
||||
include(../common.pri)
|
||||
|
||||
|
|
Loading…
Reference in New Issue