X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d3994fde00a92cffd43c79668802108d3056413b..a6b0423977ee2ad532b4e5341eaf41e7197804b2:/tests/testtariffs.h?ds=sidebyside diff --git a/tests/testtariffs.h b/tests/testtariffs.h index 2e4dd5f0..f43bc22b 100644 --- a/tests/testtariffs.h +++ b/tests/testtariffs.h @@ -7,7 +7,7 @@ class TEST_TARIFFS : public TARIFFS { public: - TEST_TARIFFS() {} + TEST_TARIFFS() : testTariff("") {} int ReadTariffs () { return 0; } const TARIFF * FindByName(const std::string & /*name*/) const { return &testTariff; } @@ -16,7 +16,13 @@ class TEST_TARIFFS : public TARIFFS { int Add(const std::string & /*name*/, const ADMIN * /*admin*/) { return 0; } int Chg(const TARIFF_DATA & /*td*/, const ADMIN * /*admin*/) { return 0; } - void GetTariffsData(std::list * /*tdl*/) {} + void AddNotifierAdd(NOTIFIER_BASE *) {} + void DelNotifierAdd(NOTIFIER_BASE *) {} + + void AddNotifierDel(NOTIFIER_BASE *) {} + void DelNotifierDel(NOTIFIER_BASE *) {} + + void GetTariffsData(std::list * /*tdl*/) const {} size_t Count() const { return 0; }