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.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/openvic-simulation/testing/TestScript.hpp b/src/openvic-simulation/testing/TestScript.hpp
index b41246e..fdf23a5 100644
--- a/src/openvic-simulation/testing/TestScript.hpp
+++ b/src/openvic-simulation/testing/TestScript.hpp
@@ -10,9 +10,11 @@ namespace OpenVic {
std::vector<Requirement*> requirements = std::vector<Requirement*>();
GameManager* PROPERTY_RW(game_manager);
- std::string PROPERTY_RW(script_name);
+ std::string PROPERTY(script_name);
public:
+ TestScript(std::string_view new_script_name);
+
// expects an overriden method that performs arbitrary code execution
// so that each script uniquely performs tests
// for both requirement adding to script and to execute code