| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <stdint.h> |
| 6 |
| 7 #include "base/macros.h" |
| 5 #include "base/test/simple_test_tick_clock.h" | 8 #include "base/test/simple_test_tick_clock.h" |
| 6 #include "media/cast/net/cast_transport_defines.h" | 9 #include "media/cast/net/cast_transport_defines.h" |
| 7 #include "media/cast/net/rtp/framer.h" | 10 #include "media/cast/net/rtp/framer.h" |
| 8 #include "media/cast/net/rtp/mock_rtp_payload_feedback.h" | 11 #include "media/cast/net/rtp/mock_rtp_payload_feedback.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 13 |
| 11 namespace media { | 14 namespace media { |
| 12 namespace cast { | 15 namespace cast { |
| 13 | 16 |
| 14 class FramerTest : public ::testing::Test { | 17 class FramerTest : public ::testing::Test { |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 EXPECT_TRUE(next_frame); | 496 EXPECT_TRUE(next_frame); |
| 494 EXPECT_FALSE(multiple); | 497 EXPECT_FALSE(multiple); |
| 495 EXPECT_EQ(EncodedFrame::KEY, frame.dependency); | 498 EXPECT_EQ(EncodedFrame::KEY, frame.dependency); |
| 496 EXPECT_EQ(256u, frame.frame_id); | 499 EXPECT_EQ(256u, frame.frame_id); |
| 497 EXPECT_EQ(256u, frame.referenced_frame_id); | 500 EXPECT_EQ(256u, frame.referenced_frame_id); |
| 498 framer_.ReleaseFrame(frame.frame_id); | 501 framer_.ReleaseFrame(frame.frame_id); |
| 499 } | 502 } |
| 500 | 503 |
| 501 } // namespace cast | 504 } // namespace cast |
| 502 } // namespace media | 505 } // namespace media |
| OLD | NEW |