MCPcopy Create free account
hub / github.com/comaps/comaps / SetLocaleForTesting

Method SetLocaleForTesting

libs/storage/country_name_getter.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12void CountryNameGetter::SetLocaleForTesting(std::string const & jsonBuffer, std::string const & locale)
13{
14 m_getCurLang = platform::ForTestingGetTextByIdFactory(jsonBuffer, locale);
15}
16
17std::string CountryNameGetter::Get(std::string const & key) const
18{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected