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

Function LoadGpxFromString

libs/kml/kml_tests/gpx_tests.cpp:16–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace gpx_tests
15{
16static kml::FileData LoadGpxFromString(std::string_view content)
17{
18 TEST_NO_THROW(
19 {
20 kml::FileData dataFromText;
21 kml::DeserializerGpx(dataFromText).Deserialize(MemReader(content));
22 return dataFromText;
23 },
24 ());
25}
26
27static kml::FileData LoadGpxFromFile(std::string const & file)
28{

Callers 2

LoadGpxFromFileFunction · 0.85
UNIT_TESTFunction · 0.85

Calls 2

DeserializerGpxClass · 0.85
DeserializeMethod · 0.45

Tested by

no test coverage detected