mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
20 lines
472 B
C++
20 lines
472 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
|
|
class TestsRunner : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit TestsRunner(const QString& testRunnerExecutablePath,
|
|
const QString& testsPath, QObject *parent = nullptr);
|
|
|
|
Q_INVOKABLE int testsCount(const QString& path);
|
|
Q_INVOKABLE QObject* runTests(const QString& path);
|
|
Q_INVOKABLE QString testsPath() const;
|
|
|
|
private:
|
|
QString m_testRunnerExecutablePath;
|
|
QString m_testsBasePath;
|
|
};
|