mirror of
https://github.com/usatiuk/backup.git
synced 2025-10-26 17:37:47 +01:00
29 lines
468 B
C++
29 lines
468 B
C++
//
|
|
// Created by Stepan Usatiuk on 13.04.2023.
|
|
//
|
|
|
|
#ifndef SEMBACKUP_TESTGROUP_H
|
|
#define SEMBACKUP_TESTGROUP_H
|
|
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
#include "Runnable.h"
|
|
|
|
class TestGroup : public Runnable {
|
|
public:
|
|
TestGroup(std::string name);
|
|
|
|
bool run(std::ostream &out) override;
|
|
|
|
void addTest(std::unique_ptr<Runnable> &&test);
|
|
|
|
~TestGroup() override;
|
|
|
|
private:
|
|
std::vector<std::unique_ptr<Runnable>> tests;
|
|
};
|
|
|
|
|
|
#endif//SEMBACKUP_TESTGROUP_H
|