chromium/cc/layers/video_frame_provider_client_impl_unittest.cc

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

#include "cc/layers/video_frame_provider_client_impl.h"
#include "base/memory/raw_ptr.h"
#include "cc/layers/video_layer_impl.h"
#include "cc/test/fake_video_frame_provider.h"
#include "cc/test/layer_tree_impl_test_base.h"
#include "components/viz/common/frame_sinks/begin_frame_args.h"
#include "media/base/video_frame.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

_;

namespace cc {

// NOTE: We cannot use DebugScopedSetImplThreadAndMainThreadBlocked in these
// tests because it gets destroyed before the VideoLayerImpl is destroyed. This
// causes a DCHECK in VideoLayerImpl's destructor to fail.
static void DebugSetImplThreadAndMainThreadBlocked(
    TaskRunnerProvider* task_runner_provider) {}

class VideoFrameProviderClientImplTest : public testing::Test,
                                         public VideoFrameControllerClient {};

TEST_F(VideoFrameProviderClientImplTest, StartStopRendering) {}

TEST_F(VideoFrameProviderClientImplTest, StopRenderingUpdateDamage) {}

TEST_F(VideoFrameProviderClientImplTest, StopUsingProvider) {}

TEST_F(VideoFrameProviderClientImplTest, StopUsingProviderUpdateDamage) {}

TEST_F(VideoFrameProviderClientImplTest, StopNotUpdateDamage) {}

TEST_F(VideoFrameProviderClientImplTest, FrameAcquisition) {}

TEST_F(VideoFrameProviderClientImplTest, DidReceiveFrame) {}

TEST_F(VideoFrameProviderClientImplTest, DidDrawFrameIssuesPutCurrentFrame) {}

}  // namespace cc