OGS
TestDefinition.h
Go to the documentation of this file.
1
12#pragma once
13
14#include <memory>
15#include <string>
16#include <vector>
17
19
20namespace BaseLib
21{
22class ConfigTree;
23}
24
25namespace ApplicationsLib
26{
27class TestDefinition final
28{
29public:
33 TestDefinition(BaseLib::ConfigTree const& config_tree,
34 std::string const& reference_path,
35 std::string const& output_directory);
36
37 OGS_EXPORT_SYMBOL bool runTests() const;
38 std::vector<std::string> const& getOutputFiles() const;
39 std::size_t numberOfTests() const;
40
41private:
42 std::vector<std::string> _command_lines;
43 std::vector<std::string> _output_files;
44};
45} // namespace ApplicationsLib
#define OGS_EXPORT_SYMBOL
OGS_EXPORT_SYMBOL bool runTests() const
std::vector< std::string > _output_files
std::vector< std::string > _command_lines
TestDefinition(BaseLib::ConfigTree const &config_tree, std::string const &reference_path, std::string const &output_directory)
std::vector< std::string > const & getOutputFiles() const