chromium/chrome/browser/ui/thumbnails/thumbnail_scheduler_impl_unittest.cc

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

#include "chrome/browser/ui/thumbnails/thumbnail_scheduler_impl.h"

#include <vector>

#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {

class FakeTabCapturer : public ThumbnailScheduler::TabCapturer {};

}  // namespace

_;
ElementsAre;

class ThumbnailSchedulerImplTest : public ::testing::Test {};

TEST_F(ThumbnailSchedulerImplTest, TabsNotScheduledIfCaptureNotNeeded) {}

TEST_F(ThumbnailSchedulerImplTest, HighPriorityCapturesScheduledUpToMax) {}

TEST_F(ThumbnailSchedulerImplTest, LowPriorityCapturesScheduledUpToMax) {}

TEST_F(ThumbnailSchedulerImplTest, HighPriorityCapturesPreemptLowPriority) {}

TEST_F(ThumbnailSchedulerImplTest, NewTabScheduledWhenCaptureFinished) {}

TEST_F(ThumbnailSchedulerImplTest, PreemptsOnPriorityDowngrade) {}

TEST_F(ThumbnailSchedulerImplTest, PreemptsOnPriorityUpgrade) {}

TEST_F(ThumbnailSchedulerImplTest,
       LowPriorityCaptureContinuesOnPriorityUpgrade) {}

TEST_F(ThumbnailSchedulerImplTest, CaptureStopsOnPriorityNone) {}