chromium/components/dom_distiller/core/dom_distiller_service_unittest.cc

// Copyright 2013 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/dom_distiller/core/dom_distiller_service.h"

#include <memory>
#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/test/task_environment.h"
#include "components/dom_distiller/core/article_entry.h"
#include "components/dom_distiller/core/distilled_page_prefs.h"
#include "components/dom_distiller/core/fake_distiller.h"
#include "components/dom_distiller/core/fake_distiller_page.h"
#include "components/dom_distiller/core/task_tracker.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

_;
Return;

namespace dom_distiller {
namespace test {

namespace {

class FakeViewRequestDelegate : public ViewRequestDelegate {};

void RunDistillerCallback(FakeDistiller* distiller,
                          std::unique_ptr<DistilledArticleProto> proto) {}

std::unique_ptr<DistilledArticleProto> CreateArticleWithURL(
    const std::string& url) {}

std::unique_ptr<DistilledArticleProto> CreateDefaultArticle() {}

}  // namespace

class DomDistillerServiceTest : public testing::Test {};

TEST_F(DomDistillerServiceTest, TestViewUrl) {}

TEST_F(DomDistillerServiceTest, TestMultipleViewUrl) {}

TEST_F(DomDistillerServiceTest, TestViewUrlCancelled) {}

}  // namespace test
}  // namespace dom_distiller