Skip to content

Commit

Permalink
Disable the RecordAndError unit test on Mac since it's not relevant a…
Browse files Browse the repository at this point in the history
…nymore.

BUG=357501
TBR=henrika

Review URL: https://codereview.chromium.org/216233005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260101 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
tommi@chromium.org committed Mar 28, 2014
1 parent 75d6d67 commit 463b15c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion media/audio/audio_input_controller_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,14 @@ TEST_F(AudioInputControllerTest, RecordAndClose) {
// Test that the AudioInputController reports an error when the input stream
// stops. This can happen when the underlying audio layer stops feeding data as
// a result of a removed microphone device.
TEST_F(AudioInputControllerTest, RecordAndError) {
#if defined(OS_MACOSX)
// Disabled on Mac due to crbug.com/357501.
// TODO(tommi): Remove the test when the timer workaround has been removed.
#define MAYBE_RecordAndError DISABLED_RecordAndError
#else
#define MAYBE_RecordAndError RecordAndError
#endif
TEST_F(AudioInputControllerTest, MAYBE_RecordAndError) {
MockAudioInputControllerEventHandler event_handler;
int count = 0;

Expand Down

0 comments on commit 463b15c

Please sign in to comment.