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

Method SetUp

cpp/src/arrow/filesystem/filesystem_test.cc:418–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416class TestMockFS : public ::testing::Test {
417 public:
418 void SetUp() override {
419 time_ = TimePoint(TimePoint::duration(42));
420 fs_ = std::make_shared<MockFileSystem>(time_);
421 }
422
423 Status WriteString(io::OutputStream* stream, const std::string& s) {
424 return stream->Write(s.data(), static_cast<int64_t>(s.length()));

Callers

nothing calls this directly

Calls 1

durationFunction · 0.50

Tested by

no test coverage detected