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

Side by Side Diff: Source/bindings/core/v8/ScriptPromisePropertyTest.cpp

Issue 1013413002: [bindings] Refactor ScriptStateForTesting, V8TestingScope into V8BindingForTesting.h/cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Combined all testing files into one! Created 5 years, 9 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 "config.h" 5 #include "config.h"
6 #include "bindings/core/v8/ScriptPromiseProperty.h" 6 #include "bindings/core/v8/ScriptPromiseProperty.h"
7 7
8 #include "bindings/core/v8/DOMWrapperWorld.h" 8 #include "bindings/core/v8/DOMWrapperWorld.h"
9 #include "bindings/core/v8/ScriptFunction.h" 9 #include "bindings/core/v8/ScriptFunction.h"
10 #include "bindings/core/v8/ScriptPromise.h" 10 #include "bindings/core/v8/ScriptPromise.h"
11 #include "bindings/core/v8/ScriptState.h" 11 #include "bindings/core/v8/ScriptState.h"
12 #include "bindings/core/v8/ScriptValue.h" 12 #include "bindings/core/v8/ScriptValue.h"
13 #include "bindings/core/v8/V8Binding.h" 13 #include "bindings/core/v8/V8Binding.h"
14 #include "bindings/core/v8/V8BindingForTesting.h"
14 #include "bindings/core/v8/V8GCController.h" 15 #include "bindings/core/v8/V8GCController.h"
15 #include "core/dom/Document.h" 16 #include "core/dom/Document.h"
16 #include "core/testing/DummyPageHolder.h" 17 #include "core/testing/DummyPageHolder.h"
17 #include "core/testing/GCObservation.h" 18 #include "core/testing/GCObservation.h"
18 #include "core/testing/GarbageCollectedScriptWrappable.h" 19 #include "core/testing/GarbageCollectedScriptWrappable.h"
19 #include "core/testing/RefCountedScriptWrappable.h" 20 #include "core/testing/RefCountedScriptWrappable.h"
20 #include "platform/heap/Handle.h" 21 #include "platform/heap/Handle.h"
21 #include "wtf/OwnPtr.h" 22 #include "wtf/OwnPtr.h"
22 #include "wtf/PassOwnPtr.h" 23 #include "wtf/PassOwnPtr.h"
23 #include "wtf/PassRefPtr.h" 24 #include "wtf/PassRefPtr.h"
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 { 546 {
546 test(String("hello"), "hello", __FILE__, __LINE__); 547 test(String("hello"), "hello", __FILE__, __LINE__);
547 } 548 }
548 549
549 TEST_F(ScriptPromisePropertyNonScriptWrappableResolutionTargetTest, ResolveWithI nteger) 550 TEST_F(ScriptPromisePropertyNonScriptWrappableResolutionTargetTest, ResolveWithI nteger)
550 { 551 {
551 test(-1, "-1", __FILE__, __LINE__); 552 test(-1, "-1", __FILE__, __LINE__);
552 } 553 }
553 554
554 } // namespace 555 } // namespace
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/core/v8/ScriptPromiseTest.cpp » ('j') | Source/bindings/core/v8/V8BindingForTesting.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698