chromium/third_party/pdfium/fxjs/gc/gced_tree_node_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.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 ObservableGCedTreeNodeForTest
    : public GCedTreeNode<ObservableGCedTreeNodeForTest>,
      public Observable {};

}  // namespace

class GCedTreeNodeUnitTest : public FXGCUnitTest {};

TEST_F(GCedTreeNodeUnitTest, OneRefence) {}

TEST_F(GCedTreeNodeUnitTest, NoReferences) {}

TEST_F(GCedTreeNodeUnitTest, FirstHasParent) {}

TEST_F(GCedTreeNodeUnitTest, RemoveSelf) {}

TEST_F(GCedTreeNodeUnitTest, InsertBeforeAfter) {}

TEST_F(GCedTreeNodeUnitTest, AsMapKey) {}