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

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

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 "mojo/public/cpp/bindings/lib/value_traits.h"
6 #include "mojo/public/interfaces/bindings/tests/test_structs.mojom.h"
5 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
6 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/value_traits.h"
7 #include "third_party/mojo/src/mojo/public/interfaces/bindings/tests/test_struct s.mojom.h"
8 8
9 namespace mojo { 9 namespace mojo {
10 namespace test { 10 namespace test {
11 11
12 namespace { 12 namespace {
13 13
14 RectPtr CreateRect() { 14 RectPtr CreateRect() {
15 RectPtr r = Rect::New(); 15 RectPtr r = Rect::New();
16 r->x = 1; 16 r->x = 1;
17 r->y = 2; 17 r->y = 2;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 EXPECT_FALSE(RequestValueTraits::Equals(req1, req2)); 149 EXPECT_FALSE(RequestValueTraits::Equals(req1, req2));
150 150
151 SomeInterfacePtr inf2; 151 SomeInterfacePtr inf2;
152 req2 = GetProxy(&inf2); 152 req2 = GetProxy(&inf2);
153 153
154 EXPECT_FALSE(RequestValueTraits::Equals(req1, req2)); 154 EXPECT_FALSE(RequestValueTraits::Equals(req1, req2));
155 } 155 }
156 156
157 } // test 157 } // test
158 } // mojo 158 } // mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/container_test_util.cc ('k') | mojo/public/cpp/bindings/tests/handle_passing_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698