#include "components/ntp_tiles/custom_links_store.h"
#include <stdint.h>
#include <memory>
#include "base/strings/utf_string_conversions.h"
#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "testing/gtest/include/gtest/gtest.h"
TestingPrefServiceSyncable;
namespace ntp_tiles {
namespace {
const char16_t kTestTitle1[] = …;
const char16_t kTestTitle2[] = …;
const char kTestUrl1[] = …;
const char kTestUrl2[] = …;
}
class CustomLinksStoreTest : public testing::Test { … };
TEST_F(CustomLinksStoreTest, StoreAndRetrieveLinks) { … }
TEST_F(CustomLinksStoreTest, StoreEmptyList) { … }
TEST_F(CustomLinksStoreTest, ClearLinks) { … }
TEST_F(CustomLinksStoreTest, LinksSavedAfterShutdown) { … }
}