]> git.stg.codes - stg.git/blobdiff - tests/testsettings.h
Public interfaces: part 1
[stg.git] / tests / testsettings.h
index 20e262714e92866f986342ab3967312648998a81..62b7b10140fc98f012cc3a621e205a2bc3b9d1fa 100644 (file)
@@ -3,30 +3,30 @@
 
 #include "stg/settings.h"
 
 
 #include "stg/settings.h"
 
-class TEST_SETTINGS : public SETTINGS {
+class TEST_SETTINGS : public STG::Settings {
     public:
         TEST_SETTINGS() { filterParamsLog.push_back("*"); }
 
     public:
         TEST_SETTINGS() { filterParamsLog.push_back("*"); }
 
-        const std::string & GetDirName(size_t) const { return dirName; }
-        const std::string & GetScriptsDir() const { return scriptsDir; }
-        unsigned            GetDetailStatWritePeriod() const { return 10; }
-        unsigned            GetStatWritePeriod() const { return 10; }
-        unsigned            GetDayFee() const { return 0; }
-        bool                GetFullFee() const { return false; }
-        unsigned            GetDayResetTraff() const { return 0; }
-        bool                GetSpreadFee() const { return false; }
-        bool                GetFreeMbAllowInet() const { return false; }
-        bool                GetDayFeeIsLastDay() const { return false; }
-        bool                GetWriteFreeMbTraffCost() const { return false; }
-        bool                GetShowFeeInCash() const { return false; }
-        unsigned            GetMessageTimeout() const { return 0; }
-        unsigned            GetFeeChargeType() const { return 0; }
-        bool                GetReconnectOnTariffChange() const { return false; }
-        const std::string & GetMonitorDir() const { return monitorDir; }
-        bool                GetMonitoring() const { return false; }
-        const std::vector<std::string> & GetScriptParams() const { return scriptParams; }
-        bool                GetDisableSessionLog() const { return false; }
-        const std::vector<std::string>& GetFilterParamsLog() const { return filterParamsLog; }
+        const std::string & GetDirName(size_t) const override { return dirName; }
+        const std::string & GetScriptsDir() const override { return scriptsDir; }
+        unsigned            GetDetailStatWritePeriod() const override { return 10; }
+        unsigned            GetStatWritePeriod() const override { return 10; }
+        unsigned            GetDayFee() const override { return 0; }
+        bool                GetFullFee() const override { return false; }
+        unsigned            GetDayResetTraff() const override { return 0; }
+        bool                GetSpreadFee() const override { return false; }
+        bool                GetFreeMbAllowInet() const override { return false; }
+        bool                GetDayFeeIsLastDay() const override { return false; }
+        bool                GetWriteFreeMbTraffCost() const override { return false; }
+        bool                GetShowFeeInCash() const override { return false; }
+        unsigned            GetMessageTimeout() const override { return 0; }
+        unsigned            GetFeeChargeType() const override { return 0; }
+        bool                GetReconnectOnTariffChange() const override { return false; }
+        const std::string & GetMonitorDir() const override { return monitorDir; }
+        bool                GetMonitoring() const override { return false; }
+        const std::vector<std::string> & GetScriptParams() const override { return scriptParams; }
+        bool                GetDisableSessionLog() const override { return false; }
+        const std::vector<std::string>& GetFilterParamsLog() const override { return filterParamsLog; }
 
     private:
         std::string dirName;
 
     private:
         std::string dirName;