#include "components/sync/model/in_memory_metadata_change_list.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
namespace {
StrictMock;
MATCHER_P(EqualsProto, expected, "") { … }
class MockMetadataChangeList : public MetadataChangeList { … };
TEST(InMemoryMetadataChangeListTest, ShouldTransferNothingIfEmptyChangeList) { … }
TEST(InMemoryMetadataChangeListTest, ShouldTransferUpdateDataTypeState) { … }
TEST(InMemoryMetadataChangeListTest, ShouldTransferClearDataTypeState) { … }
TEST(InMemoryMetadataChangeListTest, ShouldTransferUpdateMetadata) { … }
TEST(InMemoryMetadataChangeListTest, ShouldTransferClearMetadata) { … }
TEST(InMemoryMetadataChangeListTest, ShouldTransferMultipleChanges) { … }
TEST(InMemoryMetadataChangeListTest, ShouldTransferClearDespitePriorUpdates) { … }
TEST(InMemoryMetadataChangeListTest, ShouldDropMetadataChange) { … }
}
}