mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
0363e590f3
commit
6c95714b9f
2 changed files with 3 additions and 2 deletions
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#ifndef TESTQPREFANIMATIONS_H
|
||||
#define TESTQPREFANIMATIONS_H
|
||||
|
||||
#include <QtTest>
|
||||
#include <QObject>
|
||||
|
||||
class TestQPrefAnimations : public QObject
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue