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

Side by Side Diff: mojo/public/cpp/bindings/tests/map_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/cpp/bindings/array.h" 6 #include "mojo/public/cpp/bindings/array.h"
6 #include "mojo/public/cpp/bindings/lib/array_serialization.h" 7 #include "mojo/public/cpp/bindings/lib/array_serialization.h"
7 #include "mojo/public/cpp/bindings/lib/bindings_internal.h" 8 #include "mojo/public/cpp/bindings/lib/bindings_internal.h"
8 #include "mojo/public/cpp/bindings/lib/fixed_buffer.h" 9 #include "mojo/public/cpp/bindings/lib/fixed_buffer.h"
9 #include "mojo/public/cpp/bindings/lib/map_serialization.h" 10 #include "mojo/public/cpp/bindings/lib/map_serialization.h"
10 #include "mojo/public/cpp/bindings/lib/validate_params.h" 11 #include "mojo/public/cpp/bindings/lib/validate_params.h"
11 #include "mojo/public/cpp/bindings/map.h" 12 #include "mojo/public/cpp/bindings/map.h"
12 #include "mojo/public/cpp/bindings/string.h" 13 #include "mojo/public/cpp/bindings/string.h"
13 #include "mojo/public/cpp/bindings/tests/container_test_util.h" 14 #include "mojo/public/cpp/bindings/tests/container_test_util.h"
14 #include "mojo/public/interfaces/bindings/tests/rect.mojom.h" 15 #include "mojo/public/interfaces/bindings/tests/rect.mojom.h"
15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace mojo { 17 namespace mojo {
18 namespace test { 18 namespace test {
19 19
20 namespace { 20 namespace {
21 21
22 using mojo::internal::Array_Data; 22 using mojo::internal::Array_Data;
23 using mojo::internal::ArrayValidateParams; 23 using mojo::internal::ArrayValidateParams;
24 using mojo::internal::FixedBufferForTesting; 24 using mojo::internal::FixedBufferForTesting;
25 using mojo::internal::Map_Data; 25 using mojo::internal::Map_Data;
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 EXPECT_FALSE(map2[1].is_null()); 420 EXPECT_FALSE(map2[1].is_null());
421 EXPECT_EQ(1, map2[1]->x); 421 EXPECT_EQ(1, map2[1]->x);
422 EXPECT_EQ(2, map2[1]->y); 422 EXPECT_EQ(2, map2[1]->y);
423 EXPECT_EQ(3, map2[1]->width); 423 EXPECT_EQ(3, map2[1]->width);
424 EXPECT_EQ(4, map2[1]->height); 424 EXPECT_EQ(4, map2[1]->height);
425 } 425 }
426 426
427 } // namespace 427 } // namespace
428 } // namespace test 428 } // namespace test
429 } // namespace mojo 429 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/iterator_util_unittest.cc ('k') | mojo/public/cpp/bindings/tests/message_builder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698