Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(779)

Unified Diff: media/audio/audio_input_controller_unittest.cc

Issue 216233005: Disable the RecordAndError unit test on Mac since it's not relevant anymore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_input_controller_unittest.cc
diff --git a/media/audio/audio_input_controller_unittest.cc b/media/audio/audio_input_controller_unittest.cc
index d5b5039b76e15e1090123311a4f9b7de5e2fd301..2673cd23b2c8099dcbdd5c877487b293e81ccd43 100644
--- a/media/audio/audio_input_controller_unittest.cc
+++ b/media/audio/audio_input_controller_unittest.cc
@@ -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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698