chromium/components/cast_streaming/renderer/common/decoder_buffer_provider_impl_unittest.cc

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

#include "components/cast_streaming/renderer/common/decoder_buffer_provider_impl.h"

#include <memory>

#include "base/functional/callback.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "media/base/audio_decoder_config.h"
#include "media/base/decoder_buffer.h"
#include "media/mojo/common/media_type_converters.h"
#include "media/mojo/common/mojo_data_pipe_read_write.h"
#include "media/mojo/mojom/media_types.mojom-forward.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace cast_streaming {
namespace {

constexpr uint32_t kDefaultDataPipeCapacityBytes =;

class MockClient
    : public DecoderBufferProviderImpl<media::AudioDecoderConfig>::Client {};

}  // namespace

class DecoderBufferProviderImplTest : public testing::Test {};

TEST_F(DecoderBufferProviderImplTest, CreationTest) {}

TEST_F(DecoderBufferProviderImplTest, InvalidationCallbackTest) {}

TEST_F(DecoderBufferProviderImplTest, ReadTest) {}

}  // namespace cast_streaming