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

Side by Side Diff: mojo/public/cpp/bindings/tests/type_conversion_unittest.cc

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 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
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 <stddef.h>
6 #include <stdint.h>
7
5 #include "mojo/public/interfaces/bindings/tests/test_structs.mojom.h" 8 #include "mojo/public/interfaces/bindings/tests/test_structs.mojom.h"
6 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
7 10
8 namespace mojo { 11 namespace mojo {
9 namespace { 12 namespace {
10 13
11 struct RedmondRect { 14 struct RedmondRect {
12 int32_t left; 15 int32_t left;
13 int32_t top; 16 int32_t top;
14 int32_t right; 17 int32_t right;
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 EXPECT_EQ(redmond_region.rects[i].left, redmond_region2.rects[i].left); 198 EXPECT_EQ(redmond_region.rects[i].left, redmond_region2.rects[i].left);
196 EXPECT_EQ(redmond_region.rects[i].top, redmond_region2.rects[i].top); 199 EXPECT_EQ(redmond_region.rects[i].top, redmond_region2.rects[i].top);
197 EXPECT_EQ(redmond_region.rects[i].right, redmond_region2.rects[i].right); 200 EXPECT_EQ(redmond_region.rects[i].right, redmond_region2.rects[i].right);
198 EXPECT_EQ(redmond_region.rects[i].bottom, redmond_region2.rects[i].bottom); 201 EXPECT_EQ(redmond_region.rects[i].bottom, redmond_region2.rects[i].bottom);
199 } 202 }
200 } 203 }
201 204
202 } // namespace 205 } // namespace
203 } // namespace test 206 } // namespace test
204 } // namespace mojo 207 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/struct_unittest.cc ('k') | mojo/public/cpp/bindings/tests/union_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698