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

Side by Side Diff: mojo/public/cpp/bindings/tests/array_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/array.h"
6 #include "mojo/public/cpp/bindings/lib/array_internal.h"
7 #include "mojo/public/cpp/bindings/lib/array_serialization.h"
8 #include "mojo/public/cpp/bindings/lib/fixed_buffer.h"
9 #include "mojo/public/cpp/bindings/tests/container_test_util.h"
10 #include "mojo/public/interfaces/bindings/tests/test_structs.mojom.h"
5 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
6 #include "third_party/mojo/src/mojo/public/cpp/bindings/array.h"
7 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/array_internal.h"
8 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/array_serialization. h"
9 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/fixed_buffer.h"
10 #include "third_party/mojo/src/mojo/public/cpp/bindings/tests/container_test_uti l.h"
11 #include "third_party/mojo/src/mojo/public/interfaces/bindings/tests/test_struct s.mojom.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 namespace test { 14 namespace test {
15 namespace { 15 namespace {
16 16
17 using mojo::internal::Array_Data; 17 using mojo::internal::Array_Data;
18 using mojo::internal::ArrayValidateParams; 18 using mojo::internal::ArrayValidateParams;
19 using mojo::internal::FixedBufferForTesting; 19 using mojo::internal::FixedBufferForTesting;
20 using mojo::internal::String_Data; 20 using mojo::internal::String_Data;
21 21
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 EXPECT_TRUE(array[i].moved()); 429 EXPECT_TRUE(array[i].moved());
430 EXPECT_EQ(value_ptrs[i], array[i].ptr()); 430 EXPECT_EQ(value_ptrs[i], array[i].ptr());
431 } 431 }
432 array.reset(); 432 array.reset();
433 EXPECT_EQ(0u, MoveOnlyType::num_instances()); 433 EXPECT_EQ(0u, MoveOnlyType::num_instances());
434 } 434 }
435 435
436 } // namespace 436 } // namespace
437 } // namespace test 437 } // namespace test
438 } // namespace mojo 438 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/BUILD.gn ('k') | mojo/public/cpp/bindings/tests/binding_callback_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698