OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 "bindings/core/v8/NativeValueTraitsImpl.h" | 5 #include "bindings/core/v8/NativeValueTraitsImpl.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 #include "bindings/core/v8/ExceptionState.h" | 8 #include "bindings/core/v8/ExceptionState.h" |
9 #include "bindings/core/v8/IDLTypes.h" | 9 #include "bindings/core/v8/IDLTypes.h" |
10 #include "bindings/core/v8/TestSequenceCallback.h" | 10 #include "bindings/core/v8/TestSequenceCallback.h" |
11 #include "bindings/core/v8/ToV8.h" | 11 #include "bindings/core/v8/ToV8ForCore.h" |
12 #include "bindings/core/v8/V8BindingForTesting.h" | 12 #include "bindings/core/v8/V8BindingForTesting.h" |
13 #include "bindings/core/v8/V8Internals.h" | 13 #include "bindings/core/v8/V8Internals.h" |
14 #include "platform/wtf/Vector.h" | 14 #include "platform/wtf/Vector.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 template <typename T> | 21 template <typename T> |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 EXPECT_EQ(1U, record.size()); | 269 EXPECT_EQ(1U, record.size()); |
270 EXPECT_EQ("foo", record[0].first); | 270 EXPECT_EQ("foo", record[0].first); |
271 EXPECT_EQ("Hello, World!", record[0].second[0]); | 271 EXPECT_EQ("Hello, World!", record[0].second[0]); |
272 EXPECT_EQ("Hi, Mom!", record[0].second[1]); | 272 EXPECT_EQ("Hi, Mom!", record[0].second[1]); |
273 } | 273 } |
274 } | 274 } |
275 | 275 |
276 } // namespace | 276 } // namespace |
277 | 277 |
278 } // namespace blink | 278 } // namespace blink |
OLD | NEW |