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

Side by Side Diff: media/cast/framer/framer_unittest.cc

Issue 112133002: Cast:Moving netwrok sender related code to a designated folder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moving const' to .cc Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/cast/framer/framer.h ('k') | media/cast/net/cast_net_defines.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "base/test/simple_test_tick_clock.h" 5 #include "base/test/simple_test_tick_clock.h"
6 #include "media/cast/framer/framer.h" 6 #include "media/cast/framer/framer.h"
7 #include "media/cast/rtp_common/mock_rtp_payload_feedback.h" 7 #include "media/cast/rtp_receiver/mock_rtp_payload_feedback.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace media { 10 namespace media {
11 namespace cast { 11 namespace cast {
12 12
13 class FramerTest : public ::testing::Test { 13 class FramerTest : public ::testing::Test {
14 protected: 14 protected:
15 FramerTest() 15 FramerTest()
16 : mock_rtp_payload_feedback_(), 16 : mock_rtp_payload_feedback_(),
17 framer_(&testing_clock_, &mock_rtp_payload_feedback_, 0, true, 0) { 17 framer_(&testing_clock_, &mock_rtp_payload_feedback_, 0, true, 0) {
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 framer_.ReleaseFrame(frame.frame_id); 324 framer_.ReleaseFrame(frame.frame_id);
325 EXPECT_TRUE(framer_.GetEncodedAudioFrame(&frame, &rtp_timestamp, 325 EXPECT_TRUE(framer_.GetEncodedAudioFrame(&frame, &rtp_timestamp,
326 &next_frame)); 326 &next_frame));
327 EXPECT_TRUE(next_frame); 327 EXPECT_TRUE(next_frame);
328 EXPECT_EQ(256u, frame.frame_id); 328 EXPECT_EQ(256u, frame.frame_id);
329 framer_.ReleaseFrame(frame.frame_id); 329 framer_.ReleaseFrame(frame.frame_id);
330 } 330 }
331 331
332 } // namespace cast 332 } // namespace cast
333 } // namespace media 333 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/framer/framer.h ('k') | media/cast/net/cast_net_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698