class MockMessageFormatter
Defined at line 19 of file ../../src/ui/a11y/lib/screen_reader/i18n/tests/mocks/mock_message_formatter.h
Public Methods
void MockMessageFormatter ()
Defined at line 11 of file ../../src/ui/a11y/lib/screen_reader/i18n/tests/mocks/mock_message_formatter.cc
void ~MockMessageFormatter ()
Defined at line 24 of file ../../src/ui/a11y/lib/screen_reader/i18n/tests/mocks/mock_message_formatter.h
void SetMessageForId (const uint64_t id, std::string message)
Sets the |message| that will be returned for |id| when FormatStringById() is called.
Defined at line 30 of file ../../src/ui/a11y/lib/screen_reader/i18n/tests/mocks/mock_message_formatter.cc
std::optional<std::string> FormatStringById (const uint64_t id, const std::vector<std::string> & arg_names, const std::vector<ArgValue> & arg_values)
|MessageFormatter|
Defined at line 13 of file ../../src/ui/a11y/lib/screen_reader/i18n/tests/mocks/mock_message_formatter.cc
const std::vector<ArgNameAndValue> & GetArgsForId (uint64_t id)
Returns the set of (name, value) pairs for the args passed with the last format
request for the given id.
Defined at line 36 of file ../../src/ui/a11y/lib/screen_reader/i18n/tests/mocks/mock_message_formatter.h