#include "components/offline_pages/core/model/store_visuals_task.h"
#include <memory>
#include "base/test/bind.h"
#include "base/test/mock_callback.h"
#include "components/offline_pages/core/model/get_visuals_task.h"
#include "components/offline_pages/core/model/model_task_test_base.h"
#include "components/offline_pages/core/offline_clock.h"
#include "components/offline_pages/core/offline_page_metadata_store.h"
#include "components/offline_pages/core/offline_store_utils.h"
#include "components/offline_pages/core/test_scoped_offline_clock.h"
namespace offline_pages {
namespace {
const char kThumbnailData[] = …;
const char kFaviconData[] = …;
OfflinePageVisuals CreateVisualsItem(base::Time now) { … }
class StoreVisualsTaskTest : public ModelTaskTestBase { … };
TEST_F(StoreVisualsTaskTest, Success) { … }
TEST_F(StoreVisualsTaskTest, AlreadyExists) { … }
TEST_F(StoreVisualsTaskTest, IgnoreEmptyStrings) { … }
TEST_F(StoreVisualsTaskTest, DbConnectionIsNull) { … }
}
}