#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> { … };
}
class WeakCellTest : public TestSupportingGC { … };
TEST_F(WeakCellTest, Finalization) { … }
TEST_F(WeakCellTest, Invalidation) { … }
TEST_F(WeakCellTest, Callback) { … }
TEST_F(WeakCellTest, FinalizationCancelsCallback) { … }
TEST_F(WeakCellTest, InvalidationCancelsCallback) { … }
}