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

Side by Side Diff: ppapi/shared_impl/media_stream_video_track_shared_unittest.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 12 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
« no previous file with comments | « ppapi/shared_impl/media_stream_video_track_shared.h ('k') | ppapi/shared_impl/platform_file.cc » ('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 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
5 #include "ppapi/shared_impl/media_stream_video_track_shared.h" 7 #include "ppapi/shared_impl/media_stream_video_track_shared.h"
6 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
7 9
8 namespace ppapi { 10 namespace ppapi {
9 11
10 TEST(MediaStreamVideoTrackShared, Verify) { 12 TEST(MediaStreamVideoTrackShared, Verify) {
11 { 13 {
12 MediaStreamVideoTrackShared::Attributes attributes; 14 MediaStreamVideoTrackShared::Attributes attributes;
13 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes)); 15 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes));
14 } 16 }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 attributes.height = -4; 89 attributes.height = -4;
88 EXPECT_FALSE(MediaStreamVideoTrackShared::VerifyAttributes(attributes)); 90 EXPECT_FALSE(MediaStreamVideoTrackShared::VerifyAttributes(attributes));
89 91
90 attributes.height = 4096 + 4; 92 attributes.height = 4096 + 4;
91 EXPECT_FALSE(MediaStreamVideoTrackShared::VerifyAttributes(attributes)); 93 EXPECT_FALSE(MediaStreamVideoTrackShared::VerifyAttributes(attributes));
92 } 94 }
93 95
94 } 96 }
95 97
96 } // namespace ppapi 98 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/media_stream_video_track_shared.h ('k') | ppapi/shared_impl/platform_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698