chromium/third_party/blink/renderer/platform/media/smoothness_helper_unittest.cc

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

#include "third_party/blink/renderer/platform/media/smoothness_helper.h"

#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "media/learning/common/labelled_example.h"
#include "media/learning/common/learning_task_controller.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace blink {

FeatureValue;
FeatureVector;
LearningTask;
LearningTaskController;
ObservationCompletion;
TargetValue;
_;
ResultOf;
Return;

// Helper for EXPECT_CALL argument matching on Optional<TargetValue>.  Applies
// matcher |m| to the TargetValue as a double.  For example:
// void Foo(std::optional<TargetValue>);
// EXPECT_CALL(..., Foo(OPT_TARGET(Gt(0.9)))) will expect that the value of the
// Optional<TargetValue> passed to Foo() to be greather than 0.9 .
#define OPT_TARGET(m)

// Same as above, but expects an ObservationCompletion.
#define COMPLETION_TARGET(m)

class SmoothnessHelperTest : public testing::Test {};

TEST_F(SmoothnessHelperTest, FeaturesAreReturned) {}

TEST_F(SmoothnessHelperTest, MaxBadWindowsRecordsTrue) {}

TEST_F(SmoothnessHelperTest, NNRTaskRecordsMaxNNRs) {}

}  // namespace blink