chromium/components/offline_pages/core/snapshot_controller_unittest.cc

// Copyright 2016 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/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 "components/offline_pages/core/offline_page_feature.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace offline_pages {

class SnapshotControllerTest : public testing::Test,
                               public SnapshotController::Client {};

SnapshotControllerTest::SnapshotControllerTest()
    :{}

SnapshotControllerTest::~SnapshotControllerTest() {}

void SnapshotControllerTest::SetUp() {}

void SnapshotControllerTest::TearDown() {}

void SnapshotControllerTest::StartSnapshot() {}

void SnapshotControllerTest::PumpLoop() {}

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

TEST_F(SnapshotControllerTest, OnLoad) {}

TEST_F(SnapshotControllerTest, OnDocumentAvailable) {}

TEST_F(SnapshotControllerTest, OnLoadSnapshotIsTheLastOne) {}

TEST_F(SnapshotControllerTest, OnLoadSnapshotAfterLongDelay) {}

TEST_F(SnapshotControllerTest, Stop) {}

TEST_F(SnapshotControllerTest, ClientReset) {}

// 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(SnapshotControllerTest, ClientResetWhileSnapshotting) {}

}  // namespace offline_pages