#ifndef TESTBASE_H #define TESTBASE_H #include "deploy.h" #include "test.h" #include #include #include class FilesTreeService: public QSet, public QuasarAppUtils::Service{}; class TestBase: public Test { public: TestBase(); void deploytest(); int generateLib(const QString &paath); void deleteLib(const QString &paath); void initTestCase(); void cleanupTestCase(); void checkResults(const QSet &tree, bool noWarnings, bool onlySize); void costomScript(); void runTestParams(QStringList list, QSet *tree = nullptr, bool noWarnings = false, bool onlySize = false, exitCodes exitCode = exitCodes::Good, const std::function &cb = {}); static const QString TestBinDir; static const QString TestQtDir; }; #endif // TESTBASE_H