Index: media/test/pipeline_integration_test.cc |
diff --git a/media/test/pipeline_integration_test.cc b/media/test/pipeline_integration_test.cc |
index 65b26e69f6a7c002d52e259f7e854f58ff52e422..48e7b9717687503de6caf6cd512735be177af129 100644 |
--- a/media/test/pipeline_integration_test.cc |
+++ b/media/test/pipeline_integration_test.cc |
@@ -1201,6 +1201,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)); |