| 42 | } |
| 43 | |
| 44 | StringUtf8Multilang 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 ------------------------------------------------------------------------------------- |
no test coverage detected