aboutsummaryrefslogtreecommitdiff
path: root/src/decoder_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_test.cc')
-rw-r--r--src/decoder_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/decoder_test.cc b/src/decoder_test.cc
index e274122..52ec5cc 100644
--- a/src/decoder_test.cc
+++ b/src/decoder_test.cc
@@ -172,6 +172,7 @@ TEST_F(DecoderTest, APIFlowForNonFrameParallelMode) {
// Signal end of stream (method 1). This should ensure that all the references
// are released.
status = decoder_->SignalEOS();
+ EXPECT_EQ(status, kStatusOk);
// libgav1 should have released all the reference frames now.
EXPECT_EQ(frames_in_use_, 0);
@@ -302,6 +303,7 @@ TEST_F(DecoderTest, NonFrameParallelModeInvalidFrameAfterEOS) {
// Signal end of stream.
status = decoder_->SignalEOS();
+ EXPECT_EQ(status, kStatusOk);
// libgav1 should have released all the reference frames now.
EXPECT_EQ(frames_in_use_, 0);
@@ -372,6 +374,7 @@ TEST_F(DecoderTest, MetadataObu) {
EXPECT_EQ(buffer_private_data_, buffer->buffer_private_data);
status = decoder_->SignalEOS();
+ EXPECT_EQ(status, kStatusOk);
EXPECT_EQ(frames_in_use_, 0);
}