chromium/third_party/blink/renderer/core/dom/abort_signal_test.cc

// Copyright 2022 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/dom/abort_signal.h"

#include <tuple>

#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/core/dom/abort_controller.h"
#include "third_party/blink/renderer/core/dom/abort_signal_registry.h"
#include "third_party/blink/renderer/core/dom/events/native_event_listener.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/page_test_base.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/heap/thread_state.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"

namespace blink {

namespace {

class TestEventListener : public NativeEventListener {};

}  // namespace

class AbortSignalTest : public PageTestBase {};

TEST_F(AbortSignalTest, AbortAlgorithmRuns) {}

TEST_F(AbortSignalTest, AbortAlgorithmHandleRemoved) {}

TEST_F(AbortSignalTest, AbortAlgorithmHandleGCed) {}

TEST_F(AbortSignalTest, RegisteredSignalAlgorithmRuns) {}

TEST_F(AbortSignalTest, RegisteredSignalAlgorithmListenerGCed) {}

TEST_F(AbortSignalTest, CanAbort) {}

TEST_F(AbortSignalTest, CanAbortAfterGC) {}

}  // namespace blink