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

Unified Diff: media/base/mime_util_unittest.cc

Issue 1677133003: Implemented parsing of HEVC codec ids (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@parse-codec-id
Patch Set: Fixed handling of empty elements + added test cases with empty elements Created 4 years, 8 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/base/mime_util_unittest.cc
diff --git a/media/base/mime_util_unittest.cc b/media/base/mime_util_unittest.cc
index f346abd00e221814ba15e9b5195ed8502304fd66..dd226f6320a550233ad5a337ad554d07062a3c62 100644
--- a/media/base/mime_util_unittest.cc
+++ b/media/base/mime_util_unittest.cc
@@ -282,7 +282,7 @@ TEST(IsCodecSupportedOnPlatformTest, EncryptedCodecBehavior) {
EXPECT_EQ(info.has_platform_vp9_decoder, result);
break;
- case MimeUtil::HEVC_MAIN:
+ case MimeUtil::HEVC:
EXPECT_EQ(HasHevcSupport(), result);
break;
}
@@ -333,7 +333,7 @@ TEST(IsCodecSupportedOnPlatformTest, ClearCodecBehaviorWithAndroidPipeline) {
EXPECT_FALSE(result);
break;
- case MimeUtil::HEVC_MAIN:
+ case MimeUtil::HEVC:
EXPECT_EQ(HasHevcSupport(), result);
break;
}
@@ -390,7 +390,7 @@ TEST(IsCodecSupportedOnPlatformTest, ClearCodecBehaviorWithUnifiedPipeline) {
EXPECT_EQ(info.has_platform_decoders, result);
break;
- case MimeUtil::HEVC_MAIN:
+ case MimeUtil::HEVC:
EXPECT_EQ(HasHevcSupport() && info.has_platform_decoders, result);
break;
}

Powered by Google App Engine
This is Rietveld 408576698