chromium/third_party/pdfium/fxjs/gc/gced_tree_node_mixin_unittest.cpp

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

#include "fxjs/gc/gced_tree_node_mixin.h"

#include <map>

#include "core/fxcrt/observed_ptr.h"
#include "fxjs/gc/heap.h"
#include "testing/fxgc_unittest.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/v8_test_environment.h"
#include "v8/include/cppgc/allocation.h"
#include "v8/include/cppgc/persistent.h"

namespace {

class ObservableGCedTreeNodeMixinForTest
    : public cppgc::GarbageCollected<ObservableGCedTreeNodeMixinForTest>,
      public GCedTreeNodeMixin<ObservableGCedTreeNodeMixinForTest>,
      public Observable {};

}  // namespace

class GCedTreeNodeMixinUnitTest : public FXGCUnitTest {};

TEST_F(GCedTreeNodeMixinUnitTest, OneRefence) {}

TEST_F(GCedTreeNodeMixinUnitTest, NoReferences) {}

TEST_F(GCedTreeNodeMixinUnitTest, FirstHasParent) {}

TEST_F(GCedTreeNodeMixinUnitTest, RemoveSelf) {}

TEST_F(GCedTreeNodeMixinUnitTest, InsertBeforeAfter) {}

TEST_F(GCedTreeNodeMixinUnitTest, AsMapKey) {}