| 110 | |
| 111 | #if defined(_MSC_VER) |
| 112 | TEST_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 | |
| 120 | TEST_F(TestFileOutputStream, FileNameValidUtf8) { |
nothing calls this directly
no test coverage detected