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

Method SetUp

plugins/tiledb/test/TileDBWriterTimeDimTest.cpp:81–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79{
80protected:
81 virtual void SetUp()
82 {
83 tiledb::Context ctx;
84
85 data_path = Support::temppath("xyztm_tdb_array");
86
87 if (Utils::fileExists(data_path))
88 {
89 tiledb::Object::remove(ctx, data_path);
90 }
91
92 Options options;
93 options.add("count", count);
94 options.add("bounds", rdr_bounds);
95 options.add("xyz_mode", "ramp");
96
97 m_reader.setOptions(options);
98 m_reader2.setOptions(options);
99 }
100 std::string data_path;
101 XYZTimeFauxReader m_reader;
102 XYZTimeFauxReader m_reader2;

Callers

nothing calls this directly

Calls 5

temppathFunction · 0.85
removeFunction · 0.85
setOptionsMethod · 0.80
fileExistsFunction · 0.50
addMethod · 0.45

Tested by

no test coverage detected