chromium/third_party/blink/renderer/bindings/core/v8/script_promise_resolver_test.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"

#include <memory>

#include "base/run_loop.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/bindings/core/v8/script_function.h"
#include "third_party/blink/renderer/bindings/core/v8/script_value.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/core/frame/frame_test_helpers.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/testing/dummy_page_holder.h"
#include "third_party/blink/renderer/platform/bindings/script_forbidden_scope.h"
#include "third_party/blink/renderer/platform/heap/thread_state.h"
#include "third_party/blink/renderer/platform/scheduler/public/thread.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/url_test_helpers.h"
#include "v8/include/v8.h"

namespace blink {

namespace {

class TestHelperFunction : public ScriptFunction::Callable {};

class ScriptPromiseResolverBaseTest : public testing::Test {};

TEST_F(ScriptPromiseResolverBaseTest, construct) {}

TEST_F(ScriptPromiseResolverBaseTest, resolve) {}

TEST_F(ScriptPromiseResolverBaseTest, reject) {}

TEST_F(ScriptPromiseResolverBaseTest, stop) {}

TEST_F(ScriptPromiseResolverBaseTest, resolveUndefined) {}

TEST_F(ScriptPromiseResolverBaseTest, rejectUndefined) {}

TEST_F(ScriptPromiseResolverBaseTest, OverrideScriptStateToCurrentContext) {}

}  // namespace

}  // namespace blink