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

Side by Side Diff: mojo/public/cpp/bindings/tests/equals_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/interfaces/bindings/tests/test_structs.mojom.h" 6 #include "mojo/public/interfaces/bindings/tests/test_structs.mojom.h"
6 #include "testing/gtest/include/gtest/gtest.h"
7 7
8 namespace mojo { 8 namespace mojo {
9 namespace test { 9 namespace test {
10 10
11 namespace { 11 namespace {
12 12
13 RectPtr CreateRect() { 13 RectPtr CreateRect() {
14 RectPtr r = Rect::New(); 14 RectPtr r = Rect::New();
15 r->x = 1; 15 r->x = 1;
16 r->y = 2; 16 r->y = 2;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 m2.at("foo")->rects.resize(1); 103 m2.at("foo")->rects.resize(1);
104 m2.at("foo")->rects[0]->width = 1; 104 m2.at("foo")->rects[0]->width = 1;
105 EXPECT_FALSE(m1.Equals(m2)); 105 EXPECT_FALSE(m1.Equals(m2));
106 106
107 m2 = m1.Clone(); 107 m2 = m1.Clone();
108 EXPECT_TRUE(m1.Equals(m2)); 108 EXPECT_TRUE(m1.Equals(m2));
109 } 109 }
110 110
111 } // test 111 } // test
112 } // mojo 112 } // mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/constant_unittest.cc ('k') | mojo/public/cpp/bindings/tests/formatting_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698