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

Unified Diff: media/audio/audio_output_proxy_unittest.cc

Issue 9805001: Move media/audio files into media namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix various compiler errors Created 8 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
Index: media/audio/audio_output_proxy_unittest.cc
diff --git a/media/audio/audio_output_proxy_unittest.cc b/media/audio/audio_output_proxy_unittest.cc
index 1f955b63998946c5e9f6069713588318d2ecf4e2..b4ebea83e3b45db9e0d751c42224679684bf26c9 100644
--- a/media/audio/audio_output_proxy_unittest.cc
+++ b/media/audio/audio_output_proxy_unittest.cc
@@ -15,6 +15,19 @@ using ::testing::_;
using ::testing::Mock;
using ::testing::Return;
+// XXX(vrk): This unit test runs into GTest asserts when I try to put it in
vrk (LEFT CHROMIUM) 2012/03/21 00:45:46 Wanted to highlight this weirdness. I have no idea
scherkus (not reviewing) 2012/03/21 08:50:27 it's possible that we're running into duplicate de
vrk (LEFT CHROMIUM) 2012/03/21 20:17:48 Yay that works, and seems like the right thing to
scherkus (not reviewing) 2012/03/22 09:43:21 Actually it looks like it wasn't MockAudioManager
+// the media namespace. I have no idea why. It complains in particular about
+// the EXPECT_CALL in SetUp() and, after that's commented out, it crashes
+// at EXPECT_CALL for the MakeAudioOutputStream in OpenAndClose.
+
+using media::AudioBuffersState;
+using media::AudioInputStream;
+using media::AudioOutputDispatcher;
+using media::AudioOutputStream;
+using media::AudioOutputProxy;
+using media::AudioManager;
+using media::AudioParameters;
+
static const int kTestCloseDelayMs = 100;
// Used in the test where we don't want a stream to be closed unexpectedly.

Powered by Google App Engine
This is Rietveld 408576698