#include "components/dom_distiller/core/task_tracker.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/gmock_move_support.h"
#include "base/test/task_environment.h"
#include "components/dom_distiller/core/article_distillation_update.h"
#include "components/dom_distiller/core/article_entry.h"
#include "components/dom_distiller/core/distilled_content_store.h"
#include "components/dom_distiller/core/fake_distiller.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
Return;
namespace dom_distiller {
namespace test {
class FakeViewRequestDelegate : public ViewRequestDelegate { … };
class MockContentStore : public DistilledContentStore { … };
class TestCancelCallback { … };
class MockSaveCallback { … };
class DomDistillerTaskTrackerTest : public testing::Test { … };
TEST_F(DomDistillerTaskTrackerTest, TestHasEntryId) { … }
TEST_F(DomDistillerTaskTrackerTest, TestHasUrl) { … }
TEST_F(DomDistillerTaskTrackerTest, TestViewerCancelled) { … }
TEST_F(DomDistillerTaskTrackerTest, TestViewerCancelledWithSaveRequest) { … }
TEST_F(DomDistillerTaskTrackerTest, TestViewerNotifiedOnDistillationComplete) { … }
TEST_F(DomDistillerTaskTrackerTest, TestDistillerFails) { … }
TEST_F(DomDistillerTaskTrackerTest,
TestSaveCallbackCalledOnDistillationComplete) { … }
DistilledArticleProto CreateDistilledArticleForEntry(
const ArticleEntry& entry) { … }
TEST_F(DomDistillerTaskTrackerTest, TestBlobFetcher) { … }
TEST_F(DomDistillerTaskTrackerTest, TestBlobFetcherFinishesFirst) { … }
TEST_F(DomDistillerTaskTrackerTest, TestBlobFetcherWithoutBlob) { … }
TEST_F(DomDistillerTaskTrackerTest, TestDistillerFailsFirst) { … }
TEST_F(DomDistillerTaskTrackerTest, ContentIsSaved) { … }
}
}