chromium/media/renderers/decrypting_renderer_unittest.cc

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

#include "media/renderers/decrypting_renderer.h"

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/gmock_callback_support.h"
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "media/base/demuxer_stream.h"
#include "media/base/media_util.h"
#include "media/base/mock_filters.h"
#include "media/base/test_helpers.h"
#include "media/filters/decrypting_media_resource.h"
#include "testing/gmock/include/gmock/gmock.h"

RunCallback;
RunOnceCallback;
_;
AnyNumber;
Invoke;
Return;
ReturnPointee;
StrictMock;

namespace media {

class CdmContext;
class DemuxerStream;
class MediaLog;

class DecryptingRendererTest : public testing::Test {};

TEST_F(DecryptingRendererTest, ClearStreams_NoCdm) {}

TEST_F(DecryptingRendererTest, ClearStreams_AesDecryptor) {}

TEST_F(DecryptingRendererTest, ClearStreams_OtherCdm) {}

TEST_F(DecryptingRendererTest, EncryptedStreams_NoCdm) {}

TEST_F(DecryptingRendererTest, EncryptedStreams_AesDecryptor) {}

TEST_F(DecryptingRendererTest, EncryptedStreams_OtherCdm) {}

TEST_F(DecryptingRendererTest, EncryptedStreams_AesDecryptor_CdmSetBeforeInit) {}

TEST_F(DecryptingRendererTest, EncryptedStreams_OtherCdm_CdmSetBeforeInit) {}

TEST_F(DecryptingRendererTest, EncryptedAndClearStream_OtherCdm) {}

TEST_F(DecryptingRendererTest, DecryptingMediaResourceInitFails) {}

}  // namespace media