mirror of
https://github.com/QuasarApp/Heart.git
synced 2025-04-28 02:34:41 +00:00
40 lines
850 B
C++
40 lines
850 B
C++
/*
|
|
* Copyright (C) 2023-2024 QuasarApp.
|
|
* Distributed under the lgplv3 software license, see the accompanying
|
|
* Everyone is permitted to copy and distribute verbatim copies
|
|
* of this license document, but changing it is not allowed.
|
|
*/
|
|
|
|
#ifndef MULTIVERSIONTEST_H
|
|
#define MULTIVERSIONTEST_H
|
|
|
|
|
|
#include "test.h"
|
|
#include "testutils.h"
|
|
|
|
#include <QtTest>
|
|
#include <abstractnode.h>
|
|
|
|
/**
|
|
* @brief The MultiVersionTest class test work of packages with different versions.
|
|
*/
|
|
class MultiVersionTest: public Test, protected TestUtils
|
|
{
|
|
public:
|
|
MultiVersionTest();
|
|
~MultiVersionTest();
|
|
void test();
|
|
protected:
|
|
|
|
void testMultipacakges();
|
|
void testSinglePackages();
|
|
|
|
private:
|
|
QH::AbstractNode *_nodeV1 = nullptr;
|
|
QH::AbstractNode *_nodeV2 = nullptr;
|
|
QH::AbstractNode *_nodeOld = nullptr;
|
|
|
|
};
|
|
|
|
#endif // MULTIVERSIONTEST_H
|