X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/4a680f37817759b02e424faf1b22c5c38ea29e5b..d1ddf1df6b8987cc1be7dc96608e22998c3e9cb6:/tests/testsettings.h diff --git a/tests/testsettings.h b/tests/testsettings.h index dd30f3fa..20e26271 100644 --- a/tests/testsettings.h +++ b/tests/testsettings.h @@ -5,7 +5,7 @@ class TEST_SETTINGS : public SETTINGS { public: - TEST_SETTINGS() {} + TEST_SETTINGS() { filterParamsLog.push_back("*"); } const std::string & GetDirName(size_t) const { return dirName; } const std::string & GetScriptsDir() const { return scriptsDir; } @@ -24,11 +24,16 @@ class TEST_SETTINGS : public SETTINGS { bool GetReconnectOnTariffChange() const { return false; } const std::string & GetMonitorDir() const { return monitorDir; } bool GetMonitoring() const { return false; } + const std::vector & GetScriptParams() const { return scriptParams; } + bool GetDisableSessionLog() const { return false; } + const std::vector& GetFilterParamsLog() const { return filterParamsLog; } private: std::string dirName; std::string scriptsDir; std::string monitorDir; + std::vector scriptParams; + std::vector filterParamsLog; }; #endif