Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/extensions/filters/common/lua/lua_wrappers.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace Lua {
// A helper to be called inside the registered closure.
class Printer {
public:
MOCK_CONST_METHOD1(testPrint, void(const std::string&));
MOCK_METHOD(void, testPrint, (const std::string&), (const));
};

const Printer& getPrinter() { CONSTRUCT_ON_FIRST_USE(Printer); }
Expand Down
6 changes: 3 additions & 3 deletions test/mocks/stats/mocks.h
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ class MockTextReadout : public MockMetric<TextReadout> {
MockTextReadout();
~MockTextReadout() override;

MOCK_METHOD1(set, void(absl::string_view value));
MOCK_CONST_METHOD0(used, bool());
MOCK_CONST_METHOD0(value, std::string());
MOCK_METHOD(void, set, (absl::string_view value), (override));
MOCK_METHOD(bool, used, (), (const, override));
MOCK_METHOD(std::string, value, (), (const, override));

bool used_;
std::string value_;
Expand Down