tests: update qPrefAnimations test cases

remove include of QtTest in header, becaue it is not needed,
add include of QObject in header, so moc can generate code.
add QTest in cpp file, which replaces QtTest

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-07-17 16:22:02 +02:00 committed by Dirk Hohndel
parent 0363e590f3
commit 6c95714b9f
2 changed files with 3 additions and 2 deletions

View file

@ -1,11 +1,12 @@
// SPDX-License-Identifier: GPL-2.0
#include "testqPrefAnimations.h"
#include "core/settings/qPrefAnimations.h"
#include "core/settings/qPref.h"
#include "core/pref.h"
#include "core/qthelper.h"
#include <QDate>
#include <QTest>
void TestQPrefAnimations::initTestCase()
{

View file

@ -2,7 +2,7 @@
#ifndef TESTQPREFANIMATIONS_H
#define TESTQPREFANIMATIONS_H
#include <QtTest>
#include <QObject>
class TestQPrefAnimations : public QObject
{