chromium/media/filters/offloading_video_decoder_unittest.cc

// Copyright 2017 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/filters/offloading_video_decoder.h"

#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/gmock_callback_support.h"
#include "base/test/task_environment.h"
#include "media/base/decoder_buffer.h"
#include "media/base/mock_filters.h"
#include "media/base/test_data_util.h"
#include "media/base/test_helpers.h"
#include "media/base/video_frame.h"
#include "testing/gmock/include/gmock/gmock.h"

RunClosure;
RunOnceCallback;
RunOnceCallbackRepeatedly;
RunOnceClosure;
_;
DoAll;
SaveArg;

namespace media {

ACTION_P(VerifyOn, task_runner) {}

ACTION_P(VerifyNotOn, task_runner) {}

class MockOffloadableVideoDecoder : public OffloadableVideoDecoder {};

class OffloadingVideoDecoderTest : public testing::Test {};

TEST_F(OffloadingVideoDecoderTest, NoOffloadingTooSmall) {}

TEST_F(OffloadingVideoDecoderTest, NoOffloadingDifferentCodec) {}

TEST_F(OffloadingVideoDecoderTest, NoOffloadingHasEncryption) {}

TEST_F(OffloadingVideoDecoderTest, Offloading) {}

TEST_F(OffloadingVideoDecoderTest, OffloadingAfterNoOffloading) {}

TEST_F(OffloadingVideoDecoderTest, InitializeWithoutDetach) {}

TEST_F(OffloadingVideoDecoderTest, ParallelizedOffloading) {}

TEST_F(OffloadingVideoDecoderTest, ParallelizedOffloadingResetAbortsDecodes) {}

}  // namespace media