| 27 | char const * TestRawGenerator::kWikidataFilename = "wiki_urls.csv"; |
| 28 | |
| 29 | bool MakeFakeBordersFile(std::string const & intemediatePath, std::string const & filename) |
| 30 | { |
| 31 | auto const borderPath = base::JoinPath(intemediatePath, BORDERS_DIR); |
| 32 | auto & platform = GetPlatform(); |
| 33 | auto const code = platform.MkDir(borderPath); |
| 34 | if (code != Platform::EError::ERR_OK && code != Platform::EError::ERR_FILE_ALREADY_EXISTS) |
| 35 | return false; |
| 36 | |
| 37 | std::vector<m2::PointD> points = {{-180.0, -90.0}, {180.0, -90.0}, {180.0, 90.0}, {-180.0, 90.0}, {-180.0, -90.0}}; |
| 38 | borders::DumpBorderToPolyFile(borderPath, filename, {m2::RegionD{std::move(points)}}); |
| 39 | return true; |
| 40 | } |
| 41 | |
| 42 | TestRawGenerator::TestRawGenerator() |
| 43 | { |
nothing calls this directly
no test coverage detected