chromium/cc/slim/slim_layer_tree_unittest.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 <memory>
#include <utility>

#include "base/memory/scoped_refptr.h"
#include "base/memory/weak_ptr.h"
#include "base/unguessable_token.h"
#include "cc/slim/layer.h"
#include "cc/slim/solid_color_layer.h"
#include "cc/slim/surface_layer.h"
#include "cc/slim/test_frame_sink_impl.h"
#include "cc/slim/test_layer_tree_client.h"
#include "cc/slim/test_layer_tree_impl.h"
#include "components/viz/common/surfaces/local_surface_id.h"
#include "components/viz/common/surfaces/surface_id.h"
#include "components/viz/common/surfaces/surface_range.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/overlay_transform.h"

namespace cc::slim {

namespace {

class SlimLayerTreeTest : public testing::Test {};

TEST_F(SlimLayerTreeTest, SmokeTest) {}

TEST_F(SlimLayerTreeTest, InitAndReleaseFrameSink) {}

TEST_F(SlimLayerTreeTest, FrameSinkInitFailure) {}

TEST_F(SlimLayerTreeTest, LoseFrameSink) {}

TEST_F(SlimLayerTreeTest, NeedsBeginFrame) {}

TEST_F(SlimLayerTreeTest, NumUnneddedBeginFrameBeforeStop) {}

TEST_F(SlimLayerTreeTest, DeferBeginFrame) {}

TEST_F(SlimLayerTreeTest, MaxPendingFrame) {}

TEST_F(SlimLayerTreeTest, MaxPendingResetWithFrameSink) {}

TEST_F(SlimLayerTreeTest, ReferencedSurfaceRange) {}

TEST_F(SlimLayerTreeTest, DestroyTreeBeforeLayer) {}

TEST_F(SlimLayerTreeTest, NewLocalSurfaceIdForNewSink) {}

}  // namespace

}  // namespace cc::slim