#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) { … }
TEST_F(BackgroundSnapshotControllerTest, ClientReset) { … }
}