mirror of
https://github.com/usatiuk/backup.git
synced 2025-10-27 01:37:49 +01:00
init
This commit is contained in:
25
tests/utils/Test.h
Normal file
25
tests/utils/Test.h
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// Created by Stepan Usatiuk on 13.04.2023.
|
||||
//
|
||||
|
||||
#ifndef SEMBACKUP_TEST_H
|
||||
#define SEMBACKUP_TEST_H
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "Runnable.h"
|
||||
|
||||
class Test : public Runnable {
|
||||
public:
|
||||
Test(std::string name, std::function<bool()> test);
|
||||
|
||||
bool run(std::ostream &out) override;
|
||||
|
||||
~Test() override;
|
||||
|
||||
private:
|
||||
std::function<bool()> test;
|
||||
};
|
||||
|
||||
|
||||
#endif//SEMBACKUP_TEST_H
|
||||
Reference in New Issue
Block a user