chromium/media/filters/audio_decoder_stream_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 <memory>
#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/task/sequenced_task_runner.h"
#include "base/test/gmock_callback_support.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "media/base/media_util.h"
#include "media/base/mock_filters.h"
#include "media/filters/decoder_stream.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

RunCallback;
RunOnceCallback;
_;
AnyNumber;
DoAll;
Invoke;
Return;
SaveArg;

namespace media {

MATCHER(IsRegularDecoderBuffer, "") {}

MATCHER(IsEOSDecoderBuffer, "") {}

static void OnAudioDecoderStreamInitialized(base::OnceClosure closure,
                                            bool success) {}

class AudioDecoderStreamTest : public testing::Test {};

TEST_F(AudioDecoderStreamTest, FlushOnConfigChange) {}

}  // namespace media