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 "mojo/public/bindings/allocation_scope.h" | |
6 #include "mojo/public/bindings/tests/test_structs.mojom.h" | 5 #include "mojo/public/bindings/tests/test_structs.mojom.h" |
| 6 #include "mojo/public/cpp/bindings/allocation_scope.h" |
7 #include "mojo/public/cpp/environment/environment.h" | 7 #include "mojo/public/cpp/environment/environment.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 namespace mojo { | 10 namespace mojo { |
11 namespace { | 11 namespace { |
12 | 12 |
13 struct RedmondRect { | 13 struct RedmondRect { |
14 int32_t left; | 14 int32_t left; |
15 int32_t top; | 15 int32_t top; |
16 int32_t right; | 16 int32_t right; |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 EXPECT_EQ(redmond_region.rects[i].left, redmond_region2.rects[i].left); | 227 EXPECT_EQ(redmond_region.rects[i].left, redmond_region2.rects[i].left); |
228 EXPECT_EQ(redmond_region.rects[i].top, redmond_region2.rects[i].top); | 228 EXPECT_EQ(redmond_region.rects[i].top, redmond_region2.rects[i].top); |
229 EXPECT_EQ(redmond_region.rects[i].right, redmond_region2.rects[i].right); | 229 EXPECT_EQ(redmond_region.rects[i].right, redmond_region2.rects[i].right); |
230 EXPECT_EQ(redmond_region.rects[i].bottom, redmond_region2.rects[i].bottom); | 230 EXPECT_EQ(redmond_region.rects[i].bottom, redmond_region2.rects[i].bottom); |
231 } | 231 } |
232 } | 232 } |
233 | 233 |
234 } // namespace | 234 } // namespace |
235 } // namespace test | 235 } // namespace test |
236 } // namespace mojo | 236 } // namespace mojo |
OLD | NEW |