MCPcopy Create free account
hub / github.com/PDAL/PDAL / readyFile

Method readyFile

test/unit/io/WriterTest.cpp:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 std::string getName() const override
66 { return "FooWriter"; }
67 void readyFile(const std::string& filename, const SpatialReference& srs) override
68 {
69 std::string s = FileUtils::getFilename(filename);
70 std::regex re("1_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}_foo.txt");
71 std::smatch sm;
72 EXPECT_TRUE(std::regex_match(s, sm, re));
73 }
74 void writeView(const PointViewPtr view) override
75 {}
76 };

Callers

nothing calls this directly

Calls 1

getFilenameFunction · 0.85

Tested by

no test coverage detected