X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2FEventOperation.hpp;h=dd54020f37302b270dbd004eb98fddbf80528a8e;hb=8a597c7ccbe2986f505fd70258e4b59ecef4166f;hp=6fceb85c05dbc42237381d98ba895cc3f81e686c;hpb=e688b5354af3a5fe0add859710cae41ffe123f65;p=anna.git diff --git a/example/diameter/launcher/EventOperation.hpp b/example/diameter/launcher/EventOperation.hpp index 6fceb85..dd54020 100644 --- a/example/diameter/launcher/EventOperation.hpp +++ b/example/diameter/launcher/EventOperation.hpp @@ -9,42 +9,11 @@ #ifndef example_diameter_launcher_EventOperation_hpp #define example_diameter_launcher_EventOperation_hpp -// Project - // STL #include -//// Standard -//#include // std::istringstream -//#include // std::cout -//#include // ceil -//#include -//#include // chdir -//#include -// // Project -//#include -//#include -//#include -//#include -//#include -//#include -//#include -//#include -//#include -//#include -//#include -//#include -//#include -//#include -// -//// Process -//#include -//#include -//#include -//#include -//#include -//#include +#include class EventOperation { @@ -136,7 +105,7 @@ public: bool test__look(std::string &response, int id = -1 /* current */); bool test__state(std::string &response, int id = -1 /* current */); bool test__interact(std::string &response, int amount, unsigned int id = -1 /* current */); - bool test__reset(std::string &response, bool soft_hard = true, unsigned int id = -2 /* apply to all the tests */); + bool test__reset(std::string &response, bool soft_hard = true, int id = -1 /* apply to all the tests */); bool test__repeats(std::string &response, int amount); bool test__auto_reset(std::string &response, bool soft_hard); bool test__initialized(std::string &response); @@ -150,6 +119,9 @@ public: const std::string & state = "all" /* initialized|in-progress|failed|success|[all]|none */, bool enable = true); bool test__report_hex(std::string &response, bool enable = true); bool test__dump_stdout(std::string &response, bool enable = true); + + // Dynamic procedure + bool test__dynamic(std::string &response, const nlohmann::json &arguments); }; #endif