| 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 "gtest/gtest.h" |
| 5 #include "mojo/public/cpp/environment/environment.h" | 6 #include "mojo/public/cpp/environment/environment.h" |
| 6 #include "mojo/public/interfaces/bindings/tests/test_structs.mojom.h" | 7 #include "mojo/public/interfaces/bindings/tests/test_structs.mojom.h" |
| 7 #include "testing/gtest/include/gtest/gtest.h" | |
| 8 | 8 |
| 9 namespace mojo { | 9 namespace mojo { |
| 10 namespace { | 10 namespace { |
| 11 | 11 |
| 12 struct RedmondRect { | 12 struct RedmondRect { |
| 13 int32_t left; | 13 int32_t left; |
| 14 int32_t top; | 14 int32_t top; |
| 15 int32_t right; | 15 int32_t right; |
| 16 int32_t bottom; | 16 int32_t bottom; |
| 17 }; | 17 }; |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 EXPECT_EQ(redmond_region.rects[i].left, redmond_region2.rects[i].left); | 196 EXPECT_EQ(redmond_region.rects[i].left, redmond_region2.rects[i].left); |
| 197 EXPECT_EQ(redmond_region.rects[i].top, redmond_region2.rects[i].top); | 197 EXPECT_EQ(redmond_region.rects[i].top, redmond_region2.rects[i].top); |
| 198 EXPECT_EQ(redmond_region.rects[i].right, redmond_region2.rects[i].right); | 198 EXPECT_EQ(redmond_region.rects[i].right, redmond_region2.rects[i].right); |
| 199 EXPECT_EQ(redmond_region.rects[i].bottom, redmond_region2.rects[i].bottom); | 199 EXPECT_EQ(redmond_region.rects[i].bottom, redmond_region2.rects[i].bottom); |
| 200 } | 200 } |
| 201 } | 201 } |
| 202 | 202 |
| 203 } // namespace | 203 } // namespace |
| 204 } // namespace test | 204 } // namespace test |
| 205 } // namespace mojo | 205 } // namespace mojo |
| OLD | NEW |