Skip to content

Commit

Permalink
remove source location from mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Laguna1989 committed Jul 7, 2024
1 parent 9ad15c5 commit f24d730
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions test/unit/jt_test/mocks/mock_logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,13 @@

class MockLogger : public jt::LoggerInterface {
public:
MOCK_METHOD(void, fatal,
(std::string const&, std::vector<std::string> const&, std::source_location), (override));
MOCK_METHOD(void, error,
(std::string const&, std::vector<std::string> const&, std::source_location), (override));
MOCK_METHOD(void, warning,
(std::string const&, std::vector<std::string> const&, std::source_location), (override));
MOCK_METHOD(void, info,
(std::string const&, std::vector<std::string> const&, std::source_location), (override));
MOCK_METHOD(void, debug,
(std::string const&, std::vector<std::string> const&, std::source_location), (override));
MOCK_METHOD(void, verbose,
(std::string const&, std::vector<std::string> const&, std::source_location), (override));
MOCK_METHOD(void, action, (std::string const&, std::source_location), (override));
MOCK_METHOD(void, fatal, (std::string const&, std::vector<std::string> const&), (override));
MOCK_METHOD(void, error, (std::string const&, std::vector<std::string> const&), (override));
MOCK_METHOD(void, warning, (std::string const&, std::vector<std::string> const&), (override));
MOCK_METHOD(void, info, (std::string const&, std::vector<std::string> const&), (override));
MOCK_METHOD(void, debug, (std::string const&, std::vector<std::string> const&), (override));
MOCK_METHOD(void, verbose, (std::string const&, std::vector<std::string> const&), (override));
MOCK_METHOD(void, action, (std::string const&), (override));
MOCK_METHOD(void, addLogTarget, (std::shared_ptr<jt::LogTargetInterface>), (override));
MOCK_METHOD(void, setLogLevel, (jt::LogLevel), (override));
};
Expand Down

0 comments on commit f24d730

Please sign in to comment.