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

Function MakeName

generator/generator_tests_support/test_feature.cpp:44–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44StringUtf8Multilang MakeName(string const & name, string const & lang)
45{
46 StringUtf8Multilang res;
47 res.AddString(lang, name);
48
49 // Names used for search depend on locale. Fill default name because we need to run tests with
50 // different locales. If you do not need default name to be filled use
51 // TestFeature::TestFeature(StringUtf8Multilang const & name).
52 res.AddString("default", name);
53 return res;
54}
55} // namespace
56
57// TestFeature -------------------------------------------------------------------------------------

Callers 7

TestPlaceMethod · 0.85
TestStreetMethod · 0.85
TestSquareMethod · 0.85
TestPOIMethod · 0.85
TestBuildingMethod · 0.85
TestParkMethod · 0.85
TestRoadMethod · 0.85

Calls 1

AddStringMethod · 0.45

Tested by

no test coverage detected