MCPcopy Create free account
hub / github.com/apache/arrow / MakeTestFile

Method MakeTestFile

cpp/src/arrow/io/file_test.cc:256–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254 void OpenFile() { ASSERT_OK_AND_ASSIGN(file_, ReadableFile::Open(path_)); }
255
256 void MakeTestFile() {
257 std::string data = "testdata";
258 std::ofstream stream;
259 stream.open(path_.c_str());
260 stream << data;
261 }
262
263 protected:
264 std::shared_ptr<ReadableFile> file_;

Callers

nothing calls this directly

Calls 1

openMethod · 0.45

Tested by

no test coverage detected