X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b0b4a918a614a1868bbb12d0501578c046faa119..143aec2c09f1eafee27b02ad3f138149eb1c20e2:/tests/testusers.h diff --git a/tests/testusers.h b/tests/testusers.h index 1250ae49..bbf48063 100644 --- a/tests/testusers.h +++ b/tests/testusers.h @@ -5,9 +5,11 @@ class TEST_USERS : public USERS { public: TEST_USERS() {} - int FindByName(const std::string & /*login*/, USER_PTR * /*user*/) { return -1; } + int FindByName(const std::string & /*login*/, USER_PTR * /*user*/) + { return -1; } - bool TariffInUse(const std::string & /*tariffName*/) const { return -1; } + bool TariffInUse(const std::string & /*tariffName*/) const + { return -1; } void AddNotifierUserAdd(NOTIFIER_BASE * /*notifier*/) {} void DelNotifierUserAdd(NOTIFIER_BASE * /*notifier*/) {} @@ -15,13 +17,15 @@ class TEST_USERS : public USERS { void AddNotifierUserDel(NOTIFIER_BASE * /*notifier*/) {} void DelNotifierUserDel(NOTIFIER_BASE * /*notifier*/) {} - int Add(const std::string & /*login*/, const ADMIN * /*admin*/) { return 0; } + int Add(const std::string & /*login*/, const ADMIN * /*admin*/) + { return 0; } void Del(const std::string & /*login*/, const ADMIN * /*admin*/) {} int ReadUsers() { return 0; } int GetUserNum() const { return 0; } - int FindByIPIdx(uint32_t /*ip*/, USER_PTR * /*user*/) const { return -1; } + int FindByIPIdx(uint32_t /*ip*/, USER_PTR * /*user*/) const + { return -1; } bool IsIPInIndex(uint32_t /*ip*/) const { return false; } int OpenSearch() { return 0; }