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

Function TEST_F

cpp/src/arrow/io/buffered_test.cc:139–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137};
138
139TEST_F(TestBufferedOutputStream, DestructorClosesFile) {
140 OpenBuffered();
141 ASSERT_FALSE(FileIsClosed(fd_));
142 buffered_.reset();
143 ASSERT_TRUE(FileIsClosed(fd_));
144}
145
146TEST_F(TestBufferedOutputStream, Detach) {
147 OpenBuffered();

Callers

nothing calls this directly

Calls 15

FileIsClosedFunction · 0.85
GenerateRandomDataFunction · 0.85
default_memory_poolFunction · 0.85
AssertBufferEqualFunction · 0.85
substrMethod · 0.80
push_backMethod · 0.80
AssertFileContentsFunction · 0.70
ASSERT_OK_AND_ASSIGNFunction · 0.50
resetMethod · 0.45
WriteMethod · 0.45
dataMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected