X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ce30e86822237a3523fd394943d50d010d70b701..bc4721533e4041a19b42cb247064f9f42c3f9d5f:/tests/testtariffs.h?ds=inline diff --git a/tests/testtariffs.h b/tests/testtariffs.h index e2651814..2e4dd5f0 100644 --- a/tests/testtariffs.h +++ b/tests/testtariffs.h @@ -12,13 +12,14 @@ class TEST_TARIFFS : public TARIFFS { int ReadTariffs () { return 0; } const TARIFF * FindByName(const std::string & /*name*/) const { return &testTariff; } const TARIFF * GetNoTariff() const { return NULL; } - int GetTariffsNum() const { return 0; } int Del(const std::string & /*name*/, const ADMIN * /*admin*/) { return 0; } 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*/) {} + size_t Count() const { return 0; } + const std::string & GetStrError() const { return strError; } void SetFee(double fee);