1 #ifndef __TEST_SETTINGS_H__
2 #define __TEST_SETTINGS_H__
4 #include "stg/settings.h"
6 class TEST_SETTINGS : public STG::Settings {
8 TEST_SETTINGS() { filterParamsLog.push_back("*"); }
10 const std::string & GetDirName(size_t) const override { return dirName; }
11 const std::string & GetScriptsDir() const override { return scriptsDir; }
12 unsigned GetDetailStatWritePeriod() const override { return 10; }
13 unsigned GetStatWritePeriod() const override { return 10; }
14 unsigned GetDayFee() const override { return 0; }
15 bool GetFullFee() const override { return false; }
16 unsigned GetDayResetTraff() const override { return 0; }
17 bool GetSpreadFee() const override { return false; }
18 bool GetFreeMbAllowInet() const override { return false; }
19 bool GetDayFeeIsLastDay() const override { return false; }
20 bool GetWriteFreeMbTraffCost() const override { return false; }
21 bool GetShowFeeInCash() const override { return false; }
22 unsigned GetMessageTimeout() const override { return 0; }
23 unsigned GetFeeChargeType() const override { return 0; }
24 bool GetReconnectOnTariffChange() const override { return false; }
25 const std::string & GetMonitorDir() const override { return monitorDir; }
26 bool GetMonitoring() const override { return false; }
27 const std::vector<std::string> & GetScriptParams() const override { return scriptParams; }
28 bool GetDisableSessionLog() const override { return false; }
29 const std::vector<std::string>& GetFilterParamsLog() const override { return filterParamsLog; }
33 std::string scriptsDir;
34 std::string monitorDir;
35 std::vector<std::string> scriptParams;
36 std::vector<std::string> filterParamsLog;