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