2022-01-13 21:51:56 +03:00
|
|
|
//#
|
2023-12-31 10:02:22 +01:00
|
|
|
//# Copyright (C) 2020-2024 QuasarApp.
|
2022-01-14 19:55:51 +03:00
|
|
|
//# Distributed under the GPLv3 software license, see the accompanying
|
2022-01-13 21:51:56 +03:00
|
|
|
//# Everyone is permitted to copy and distribute verbatim copies
|
|
|
|
//# of this license document, but changing it is not allowed.
|
|
|
|
//#
|
|
|
|
|
|
|
|
|
2022-01-17 17:31:44 +03:00
|
|
|
#ifndef BASE_TEST_H
|
|
|
|
#define BASE_TEST_H
|
2022-01-13 21:51:56 +03:00
|
|
|
#include "test.h"
|
|
|
|
#include "testutils.h"
|
2022-01-17 17:31:44 +03:00
|
|
|
#include "DoctorPillCore/doctortest.h"
|
2022-01-13 21:51:56 +03:00
|
|
|
|
|
|
|
#include <QtTest>
|
|
|
|
|
2022-01-17 17:31:44 +03:00
|
|
|
class BaseTest: public Test, protected TestUtils
|
2022-01-13 21:51:56 +03:00
|
|
|
{
|
|
|
|
public:
|
2022-01-17 17:31:44 +03:00
|
|
|
BaseTest();
|
|
|
|
~BaseTest();
|
2022-01-13 21:51:56 +03:00
|
|
|
|
|
|
|
void test();
|
|
|
|
|
2022-01-17 17:31:44 +03:00
|
|
|
private:
|
|
|
|
DP::DoctorTest _test;
|
|
|
|
|
|
|
|
friend class TestPill;
|
|
|
|
|
|
|
|
bool _appIsBroken = true;
|
|
|
|
|
2022-01-13 21:51:56 +03:00
|
|
|
};
|
|
|
|
|
2022-01-17 17:31:44 +03:00
|
|
|
#endif // BASE_TEST_H
|