4
1
mirror of https://github.com/QuasarApp/Heart.git synced 2025-05-13 01:49:41 +00:00
Heart/HeartTests/units/multiversiontest.h
2024-12-30 22:44:47 +01:00

40 lines
850 B
C++

/*
* Copyright (C) 2023-2025 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