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

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

Issue 2244503002: mojo/public: Include gtest.h as "gtest/gtest.h", instead of via "absolute" path. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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
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 "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
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
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/synchronous_interface_ptr_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