aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/testing/TestScript.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/testing/TestScript.hpp')
-rw-r--r--src/openvic-simulation/testing/TestScript.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/openvic-simulation/testing/TestScript.hpp b/src/openvic-simulation/testing/TestScript.hpp
index bfc2e95..b41246e 100644
--- a/src/openvic-simulation/testing/TestScript.hpp
+++ b/src/openvic-simulation/testing/TestScript.hpp
@@ -9,8 +9,8 @@ namespace OpenVic {
class TestScript {
std::vector<Requirement*> requirements = std::vector<Requirement*>();
- GameManager* game_manager;
- std::string script_name;
+ GameManager* PROPERTY_RW(game_manager);
+ std::string PROPERTY_RW(script_name);
public:
// expects an overriden method that performs arbitrary code execution
@@ -26,14 +26,10 @@ namespace OpenVic {
std::vector<Requirement*> get_passed_requirements();
std::vector<Requirement*> get_failed_requirements();
std::vector<Requirement*> get_untested_requirements();
- GameManager* get_game_manager();
- std::string get_script_name();
// Setters
void set_requirements(std::vector<Requirement*> in_requirements);
void add_requirement(Requirement* req);
- void set_game_manager(GameManager* in_game_manager);
- void set_script_name(std::string in_script_name);
// Methods
void pass_or_fail_req_with_actual_and_target_values(