chromium/third_party/blink/renderer/platform/heap/test/weak_cell_test.cc

// Copyright 2023 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/platform/heap/weak_cell.h"

#include "base/functional/function_ref.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/heap/heap_test_utilities.h"
#include "third_party/blink/renderer/platform/heap/member.h"
#include "third_party/blink/renderer/platform/heap/persistent.h"
#include "third_party/blink/renderer/platform/heap/visitor.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"

namespace blink {

namespace {

class TestClass : public GarbageCollected<TestClass> {};

}  // namespace

class WeakCellTest : public TestSupportingGC {};

TEST_F(WeakCellTest, Finalization) {}

TEST_F(WeakCellTest, Invalidation) {}

TEST_F(WeakCellTest, Callback) {}

TEST_F(WeakCellTest, FinalizationCancelsCallback) {}

TEST_F(WeakCellTest, InvalidationCancelsCallback) {}

}  // namespace blink