| OLD | NEW |
| 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" | 5 #include "mojo/public/cpp/bindings/array.h" |
| 6 #include "mojo/public/cpp/bindings/lib/array_serialization.h" | 6 #include "mojo/public/cpp/bindings/lib/array_serialization.h" |
| 7 #include "mojo/public/cpp/bindings/lib/bindings_internal.h" | 7 #include "mojo/public/cpp/bindings/lib/bindings_internal.h" |
| 8 #include "mojo/public/cpp/bindings/lib/fixed_buffer.h" | 8 #include "mojo/public/cpp/bindings/lib/fixed_buffer.h" |
| 9 #include "mojo/public/cpp/bindings/lib/validate_params.h" | 9 #include "mojo/public/cpp/bindings/lib/validate_params.h" |
| 10 #include "mojo/public/cpp/bindings/map.h" | 10 #include "mojo/public/cpp/bindings/map.h" |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| OLD | NEW |