aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/testing/Requirement.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/testing/Requirement.hpp')
-rw-r--r--src/openvic-simulation/testing/Requirement.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/openvic-simulation/testing/Requirement.hpp b/src/openvic-simulation/testing/Requirement.hpp
index aeb36e7..caea5c6 100644
--- a/src/openvic-simulation/testing/Requirement.hpp
+++ b/src/openvic-simulation/testing/Requirement.hpp
@@ -5,10 +5,16 @@ namespace OpenVic {
class Requirement {
+ // Loaded during construction
std::string id;
std::string text;
std::string acceptance_criteria;
bool pass = false; // Explicitly false to begin
+ bool tested = false;
+
+ // Initialised and used during script execution
+ std::string target_value;
+ std::string actual_value;
public:
@@ -23,11 +29,17 @@ namespace OpenVic {
std::string get_text();
std::string get_acceptance_criteria();
bool get_pass();
+ bool get_tested();
+ std::string get_target_value();
+ std::string get_actual_value();
// Setters
void set_id(std::string in_id);
void set_text(std::string in_text);
void set_acceptance_criteria(std::string in_acceptance_criteria);
void set_pass(bool in_pass);
+ void set_tested(bool in_tested);
+ void set_target_value(std::string in_target_value);
+ void set_actual_value(std::string in_actual_value);
};
}