Index: media/test/pipeline_integration_test.cc |
diff --git a/media/test/pipeline_integration_test.cc b/media/test/pipeline_integration_test.cc |
index b62a59535585d3cbc117d4234212211e9112c617..d1176ccde228afd688b5c0c0ec5dab2e4876a441 100644 |
--- a/media/test/pipeline_integration_test.cc |
+++ b/media/test/pipeline_integration_test.cc |
@@ -1132,6 +1132,14 @@ TEST_F(PipelineIntegrationTest, MAYBE_EME(BasicPlaybackEncrypted)) { |
Stop(); |
} |
+TEST_F(PipelineIntegrationTest, FlacPlaybackHashed) { |
+ ASSERT_EQ(PIPELINE_OK, Start("sfx.flac", kHashed)); |
+ Play(); |
+ ASSERT_TRUE(WaitUntilOnEnded()); |
+ EXPECT_HASH_EQ(std::string(kNullVideoHash), GetVideoHash()); |
+ EXPECT_HASH_EQ("3.03,2.86,2.99,3.31,3.57,4.06,", GetAudioHash()); |
+} |
+ |
TEST_F(PipelineIntegrationTest, BasicPlayback_MediaSource) { |
MockMediaSource source("bear-320x240.webm", kWebM, 219229); |
EXPECT_EQ(PIPELINE_OK, StartPipelineWithMediaSource(&source)); |