#include "components/power_bookmarks/storage/power_bookmark_sync_metadata_database.h"
#include "base/files/scoped_temp_dir.h"
#include "components/power_bookmarks/storage/power_bookmark_database_impl.h"
#include "components/sync/model/metadata_batch.h"
#include "components/sync/protocol/data_type_state.pb.h"
#include "components/sync/protocol/entity_metadata.pb.h"
#include "sql/database.h"
#include "sql/meta_table.h"
#include "sql/statement.h"
#include "sql/test/test_helpers.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace power_bookmarks {
class PowerBookmarkSyncMetadataDatabaseTest : public testing::Test { … };
TEST_F(PowerBookmarkSyncMetadataDatabaseTest, Init) { … }
TEST_F(PowerBookmarkSyncMetadataDatabaseTest, EmptyStateIsValid) { … }
TEST_F(PowerBookmarkSyncMetadataDatabaseTest, UpdateEntityMetadata) { … }
TEST_F(PowerBookmarkSyncMetadataDatabaseTest, ClearEntityMetadata) { … }
TEST_F(PowerBookmarkSyncMetadataDatabaseTest, FailsToReadCorruptSyncMetadata) { … }
TEST_F(PowerBookmarkSyncMetadataDatabaseTest, FailsToReadCorruptDataTypeState) { … }
}