mirror of
https://github.com/usatiuk/backup.git
synced 2025-10-27 01:37:49 +01:00
init
This commit is contained in:
28
tests/utils/TestGroup.h
Normal file
28
tests/utils/TestGroup.h
Normal file
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user