#include "media/base/video_thumbnail_decoder.h"
#include <memory>
#include <vector>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/gmock_callback_support.h"
#include "base/test/task_environment.h"
#include "media/base/media_util.h"
#include "media/base/mock_filters.h"
#include "media/base/video_decoder_config.h"
#include "media/base/video_frame.h"
#include "media/base/video_types.h"
#include "testing/gtest/include/gtest/gtest.h"
RunCallback;
RunOnceCallback;
_;
DoAll;
namespace media {
namespace {
class VideoThumbnailDecoderTest : public testing::Test { … };
TEST_F(VideoThumbnailDecoderTest, Success) { … }
TEST_F(VideoThumbnailDecoderTest, SuccessMultipleOutputs) { … }
TEST_F(VideoThumbnailDecoderTest, SuccessOutputBeforeDecodeCBCompletes) { … }
TEST_F(VideoThumbnailDecoderTest, InitializationFailed) { … }
TEST_F(VideoThumbnailDecoderTest, DecodingFailed) { … }
}
}