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

Side by Side Diff: mojo/public/cpp/bindings/tests/map_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_serialization.h"
7 #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/validate_params.h"
10 #include "mojo/public/cpp/bindings/map.h"
11 #include "mojo/public/cpp/bindings/string.h"
12 #include "mojo/public/cpp/bindings/tests/container_test_util.h"
5 #include "testing/gtest/include/gtest/gtest.h" 13 #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_serialization. h"
8 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/bindings_internal.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/lib/validate_params.h"
11 #include "third_party/mojo/src/mojo/public/cpp/bindings/map.h"
12 #include "third_party/mojo/src/mojo/public/cpp/bindings/string.h"
13 #include "third_party/mojo/src/mojo/public/cpp/bindings/tests/container_test_uti l.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 namespace test { 16 namespace test {
17 17
18 namespace { 18 namespace {
19 19
20 using mojo::internal::Array_Data; 20 using mojo::internal::Array_Data;
21 using mojo::internal::ArrayValidateParams; 21 using mojo::internal::ArrayValidateParams;
22 using mojo::internal::FixedBufferForTesting; 22 using mojo::internal::FixedBufferForTesting;
23 using mojo::internal::Map_Data; 23 using mojo::internal::Map_Data;
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 ASSERT_EQ(1u, deserialized_array.size()); 307 ASSERT_EQ(1u, deserialized_array.size());
308 ASSERT_EQ(1u, deserialized_array[0].size()); 308 ASSERT_EQ(1u, deserialized_array[0].size());
309 ASSERT_FALSE(deserialized_array[0].at("hello world")[0]); 309 ASSERT_FALSE(deserialized_array[0].at("hello world")[0]);
310 ASSERT_TRUE(deserialized_array[0].at("hello world")[1]); 310 ASSERT_TRUE(deserialized_array[0].at("hello world")[1]);
311 } 311 }
312 } 312 }
313 313
314 } // namespace 314 } // namespace
315 } // namespace test 315 } // namespace test
316 } // namespace mojo 316 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc ('k') | mojo/public/cpp/bindings/tests/message_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698