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

Unified Diff: content/renderer/media/media_recorder_handler_unittest.cc

Issue 1330873002: MediaRecorderHandler: connecting Blink factory method to content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forward declaring WebMediaRecorderHandlerClient (ISO including full header) Created 5 years, 3 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 | « content/renderer/media/media_recorder_handler.cc ('k') | content/renderer/media/video_track_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_recorder_handler_unittest.cc
diff --git a/content/renderer/media/media_recorder_handler_unittest.cc b/content/renderer/media/media_recorder_handler_unittest.cc
index f4358557f0b6099bc03bb72acf2ba66de349526d..d15bc0352d76beceb32db238fda5ef737cc57aae 100644
--- a/content/renderer/media/media_recorder_handler_unittest.cc
+++ b/content/renderer/media/media_recorder_handler_unittest.cc
@@ -78,11 +78,14 @@ TEST_F(MediaRecorderHandlerTest, CanSupportMimeType) {
const WebString bad_mime_type(base::UTF8ToUTF16("video/unsupportedcodec"));
EXPECT_FALSE(media_recorder_handler_->canSupportMimeType(bad_mime_type));
+
+ const WebString empty_mime_type(base::UTF8ToUTF16(""));
+ EXPECT_TRUE(media_recorder_handler_->canSupportMimeType(empty_mime_type));
}
// Checks that the initialization-destruction sequence works fine.
TEST_F(MediaRecorderHandlerTest, InitializeStartStop) {
- const WebString mime_type(base::UTF8ToUTF16("video/vp8"));
+ const WebString mime_type(base::UTF8ToUTF16(""));
EXPECT_TRUE(media_recorder_handler_->initialize(this,
registry_.test_stream(),
mime_type));
« no previous file with comments | « content/renderer/media/media_recorder_handler.cc ('k') | content/renderer/media/video_track_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698