| 72 | //------------------------------------------------------------------------------ |
| 73 | |
| 74 | TEST_F(SndFileAudioFileReaderTest, shouldOpenWavFile) |
| 75 | { |
| 76 | bool result = reader_.open("../test/data/test_file_stereo.wav"); |
| 77 | ASSERT_TRUE(result); |
| 78 | |
| 79 | ASSERT_THAT(output.str(), StrEq("")); |
| 80 | ASSERT_THAT(error.str(), StrEq( |
| 81 | "Input file: ../test/data/test_file_stereo.wav\n" |
| 82 | "Frames: 113519\n" |
| 83 | "Sample rate: 16000 Hz\n" |
| 84 | "Channels: 2\n" |
| 85 | "Format: 0x10002\n" |
| 86 | "Sections: 1\n" |
| 87 | "Seekable: yes\n" |
| 88 | )); |
| 89 | } |
| 90 | |
| 91 | //------------------------------------------------------------------------------ |
| 92 |
nothing calls this directly
no test coverage detected