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

Side by Side Diff: media/cast/net/frame_id_wrap_helper_test.cc

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing includes Created 6 years, 5 months 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
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 <gtest/gtest.h> 5 #include <gtest/gtest.h>
6 #include "media/cast/transport/cast_transport_defines.h" 6 #include "media/cast/net/cast_transport_defines.h"
7 7
8 namespace media { 8 namespace media {
9 namespace cast { 9 namespace cast {
10 namespace transport {
11 10
12 class FrameIdWrapHelperTest : public ::testing::Test { 11 class FrameIdWrapHelperTest : public ::testing::Test {
13 protected: 12 protected:
14 FrameIdWrapHelperTest() {} 13 FrameIdWrapHelperTest() {}
15 virtual ~FrameIdWrapHelperTest() {} 14 virtual ~FrameIdWrapHelperTest() {}
16 15
17 FrameIdWrapHelper frame_id_wrap_helper_; 16 FrameIdWrapHelper frame_id_wrap_helper_;
18 17
19 DISALLOW_COPY_AND_ASSIGN(FrameIdWrapHelperTest); 18 DISALLOW_COPY_AND_ASSIGN(FrameIdWrapHelperTest);
20 }; 19 };
(...skipping 19 matching lines...) Expand all
40 } 39 }
41 EXPECT_EQ(254u, new_frame_id); 40 EXPECT_EQ(254u, new_frame_id);
42 new_frame_id = frame_id_wrap_helper_.MapTo32bitsFrameId(0u); 41 new_frame_id = frame_id_wrap_helper_.MapTo32bitsFrameId(0u);
43 EXPECT_EQ(256u, new_frame_id); 42 EXPECT_EQ(256u, new_frame_id);
44 new_frame_id = frame_id_wrap_helper_.MapTo32bitsFrameId(255u); 43 new_frame_id = frame_id_wrap_helper_.MapTo32bitsFrameId(255u);
45 EXPECT_EQ(255u, new_frame_id); 44 EXPECT_EQ(255u, new_frame_id);
46 new_frame_id = frame_id_wrap_helper_.MapTo32bitsFrameId(1u); 45 new_frame_id = frame_id_wrap_helper_.MapTo32bitsFrameId(1u);
47 EXPECT_EQ(257u, new_frame_id); 46 EXPECT_EQ(257u, new_frame_id);
48 } 47 }
49 48
50 } // namespace transport
51 } // namespace cast 49 } // namespace cast
52 } // namespace media 50 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/net/cast_transport_sender_impl_unittest.cc ('k') | media/cast/net/pacing/mock_paced_packet_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698