MCPcopy Create free account
hub / github.com/bbc/audiowaveform / TEST_F

Function TEST_F

test/SndFileAudioFileReaderTest.cpp:74–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72//------------------------------------------------------------------------------
73
74TEST_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

Callers

nothing calls this directly

Calls 5

initFunction · 0.85
testProcessStereoFunction · 0.85
testProcessMonoFunction · 0.85
openMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected