chromium/components/offline_pages/core/background_snapshot_controller_unittest.cc

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

#include "components/offline_pages/core/background_snapshot_controller.h"

#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/test_mock_time_task_runner.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace offline_pages {

class BackgroundSnapshotControllerTest
    : public testing::Test,
      public BackgroundSnapshotController::Client {};

BackgroundSnapshotControllerTest::BackgroundSnapshotControllerTest()
    :{}

BackgroundSnapshotControllerTest::~BackgroundSnapshotControllerTest() {}

void BackgroundSnapshotControllerTest::SetUp() {}

void BackgroundSnapshotControllerTest::TearDown() {}

void BackgroundSnapshotControllerTest::StartSnapshot() {}

void BackgroundSnapshotControllerTest::PumpLoop() {}

void BackgroundSnapshotControllerTest::FastForwardBy(base::TimeDelta delta) {}

TEST_F(BackgroundSnapshotControllerTest, OnLoad) {}

TEST_F(BackgroundSnapshotControllerTest, Stop) {}

// This simulated a Reset while there is ongoing snapshot, which is reported
// as done later. That reporting should have no effect nor crash.
TEST_F(BackgroundSnapshotControllerTest, ClientReset) {}

}  // namespace offline_pages