From 6c95714b9fc6af72b6d82564ac6f7f7148b8e5ed Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Tue, 17 Jul 2018 16:22:02 +0200 Subject: 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 --- tests/testqPrefAnimations.cpp | 3 ++- tests/testqPrefAnimations.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/testqPrefAnimations.cpp b/tests/testqPrefAnimations.cpp index db0e31218..13c194233 100644 --- a/tests/testqPrefAnimations.cpp +++ b/tests/testqPrefAnimations.cpp @@ -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 +#include void TestQPrefAnimations::initTestCase() { diff --git a/tests/testqPrefAnimations.h b/tests/testqPrefAnimations.h index 162baf8fd..78342607f 100644 --- a/tests/testqPrefAnimations.h +++ b/tests/testqPrefAnimations.h @@ -2,7 +2,7 @@ #ifndef TESTQPREFANIMATIONS_H #define TESTQPREFANIMATIONS_H -#include +#include class TestQPrefAnimations : public QObject { -- cgit v1.2.3-70-g09d2