OLD | NEW |
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 Loading... |
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 |
OLD | NEW |