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

Method SetUp

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

Source from the content-addressed store, hash-verified

65class FileTestFixture : public ::testing::Test {
66 public:
67 void SetUp() {
68 ASSERT_OK_AND_ASSIGN(temp_dir_, TemporaryDir::Make("file-test-"));
69 path_ = TempFile("arrow-test-io-file.txt");
70 EnsureFileDeleted();
71 }
72
73 std::string TempFile(std::string_view path) {
74 return temp_dir_->path().Join(std::string(path)).ValueOrDie().ToString();

Callers

nothing calls this directly

Calls 2

ASSERT_OK_AND_ASSIGNFunction · 0.50
MakeFunction · 0.50

Tested by

no test coverage detected