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

Function LoadGpxFromFile

libs/kml/kml_tests/gpx_tests.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27static kml::FileData LoadGpxFromFile(std::string const & file)
28{
29 auto const fileName = GetPlatform().TestsDataPathForFile(file);
30 std::string text;
31 FileReader(fileName).ReadAsString(text);
32 return LoadGpxFromString(text);
33}
34
35static std::string ReadFile(char const * testFile)
36{

Callers 2

ReadFileAndSerializeFunction · 0.85
UNIT_TESTFunction · 0.85

Calls 4

LoadGpxFromStringFunction · 0.85
TestsDataPathForFileMethod · 0.80
FileReaderClass · 0.50
ReadAsStringMethod · 0.45

Tested by

no test coverage detected