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

Unified Diff: media/audio/audio_input_device_unittest.cc

Issue 8276034: This patch will loop through the soundcard and return a list of available devices when the AudioI... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: fixed the tests and updated code based on comment from Avi Created 9 years, 2 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 | media/audio/mac/audio_manager_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_input_device_unittest.cc
diff --git a/media/audio/audio_input_device_unittest.cc b/media/audio/audio_input_device_unittest.cc
index 1f342ba9e625d0696d47d63fdcac7d7c1f696582..7812d3f4f37ac898d7d668902fb7470f14250217 100644
--- a/media/audio/audio_input_device_unittest.cc
+++ b/media/audio/audio_input_device_unittest.cc
@@ -22,8 +22,8 @@ TEST(AudioInputDeviceTest, EnumerateDevices) {
// Other devices should have non-empty name and id.
while (it != device_names.end()) {
- EXPECT_EQ("", it->device_name);
- EXPECT_EQ("", it->unique_id);
+ EXPECT_NE("", it->device_name);
+ EXPECT_NE("", it->unique_id);
++it;
}
}
« no previous file with comments | « no previous file | media/audio/mac/audio_manager_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698