#include "components/offline_pages/core/model/get_visuals_task.h"
#include <memory>
#include "base/files/scoped_temp_dir.h"
#include "base/functional/callback_helpers.h"
#include "base/test/bind.h"
#include "base/test/mock_callback.h"
#include "components/offline_pages/core/model/model_task_test_base.h"
#include "components/offline_pages/core/model/offline_page_item_generator.h"
#include "components/offline_pages/core/model/store_visuals_task.h"
#include "components/offline_pages/core/offline_clock.h"
#include "components/offline_pages/core/offline_page_metadata_store_test_util.h"
#include "components/offline_pages/core/offline_store_utils.h"
#include "components/offline_pages/core/test_scoped_offline_clock.h"
#include "components/offline_pages/task/test_task_runner.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
namespace offline_pages {
namespace {
OfflinePageVisuals TestVisuals(base::Time now) { … }
class GetVisualsTaskTest : public ModelTaskTestBase { … };
TEST_F(GetVisualsTaskTest, NotFound) { … }
TEST_F(GetVisualsTaskTest, Found) { … }
TEST_F(GetVisualsTaskTest, FoundThumbnailOnly) { … }
TEST_F(GetVisualsTaskTest, FoundFaviconOnly) { … }
TEST_F(GetVisualsTaskTest, DbConnectionIsNull) { … }
}
}