#include "third_party/blink/renderer/modules/mediarecorder/key_frame_request_processor.h"
#include "base/functional/bind.h"
#include "base/functional/callback_forward.h"
#include "base/time/time.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
namespace blink {
namespace {
class KeyFrameRequestProcessorClockTest : public ::testing::Test { … };
TEST(KeyFrameRequestProcessorTest, DefaultConfigurationIsUnconfigured) { … }
TEST_F(KeyFrameRequestProcessorClockTest,
DefaultProcessorRequestKeyFrameEvery100Frames) { … }
TEST_F(KeyFrameRequestProcessorClockTest,
CountIntervalSuggestsKeyframesPeriodically) { … }
TEST_F(KeyFrameRequestProcessorClockTest,
DurationIntervalSuggestsKeyframesPeriodically) { … }
}
}