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

Function TEST_F

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

Source from the content-addressed store, hash-verified

110
111#if defined(_MSC_VER)
112TEST_F(TestFileOutputStream, FileNameWideCharConversionRangeException) {
113 // Invalid utf-8 filename
114 std::string file_name = "\x80";
115 ASSERT_RAISES(Invalid, FileOutputStream::Open(file_name));
116 ASSERT_RAISES(Invalid, ReadableFile::Open(file_name));
117}
118#endif
119
120TEST_F(TestFileOutputStream, FileNameValidUtf8) {

Callers

nothing calls this directly

Calls 15

OpenFileFunction · 0.85
FileIsClosedFunction · 0.85
FileSeekFunction · 0.85
AssertBufferEqualFunction · 0.85
FileReadFunction · 0.85
FromStringFunction · 0.85
CreateFileFunction · 0.85
FileGetSizeFunction · 0.85
file_descriptorMethod · 0.80
resizeMethod · 0.80
AssertFileContentsFunction · 0.70
BufferClass · 0.70

Tested by

no test coverage detected