chromium/third_party/blink/renderer/core/streams/stream_promise_resolver_test.cc

// Copyright 2019 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/core/streams/stream_promise_resolver.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink/renderer/core/streams/promise_handler.h"
#include "third_party/blink/renderer/platform/bindings/v8_binding.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/heap/visitor.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"

namespace blink {

namespace {

TEST(StreamPromiseResolverTest, Construct) {}

TEST(StreamPromiseResolverTest, Resolve) {}

TEST(StreamPromiseResolverTest, ResolveWithUndefined) {}

TEST(StreamPromiseResolverTest, Reject) {}

TEST(StreamPromiseResolverTest, RejectDoesNothingAfterResolve) {}

TEST(StreamPromiseResolverTest, ResolveDoesNothingAfterReject) {}

TEST(StreamPromiseResolverTest, ResolveDoesNothingInsideResolve) {}

TEST(StreamPromiseResolverTest, GetScriptPromiseUntyped) {}

TEST(StreamPromiseResolverTest, MarkAsHandled) {}

TEST(StreamPromiseResolverTest, CreateResolved) {}

TEST(StreamPromiseResolverTest, CreateResolvedWithUndefined) {}

TEST(StreamPromiseResolverTest, CreateRejected) {}

}  // namespace

}  // namespace blink