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

Function ForTestingGetTextByIdFactory

libs/i18n/get_text_by_id.cpp:104–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104TGetTextByIdPtr ForTestingGetTextByIdFactory(string const & jsonBuffer, string const & localeName)
105{
106 return GetTextById::Create(jsonBuffer, localeName);
107}
108
109GetTextById::GetTextById(string const & jsonBuffer, string const & localeName) : m_locale(localeName)
110{

Callers 3

UNIT_TESTFunction · 0.85
SetLocaleForTestingMethod · 0.85

Calls 1

CreateFunction · 0.85

Tested by 1

UNIT_TESTFunction · 0.68