diff options
author | maxbogue <maxbogue@chromium.org> | 2016-02-23 11:24:23 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-23 19:26:02 +0000 |
commit | a1bc985299964f1fef449b39a2d7a8b22ce101aa (patch) | |
tree | 3d806e25f3d13933748f6caa4226081d1b059ea8 /sync/sync_tests.gypi | |
parent | cf4ed86e0ba30a44f60d8e7a40fa0721090bef47 (diff) | |
download | chromium_src-a1bc985299964f1fef449b39a2d7a8b22ce101aa.zip chromium_src-a1bc985299964f1fef449b39a2d7a8b22ce101aa.tar.gz chromium_src-a1bc985299964f1fef449b39a2d7a8b22ce101aa.tar.bz2 |
[Sync] USS: Load data for pending commits on startup.
This change also includes fairly massive changes to how the SMTP test
file works. Specifically, there is now a SimpleStore for data and
metadata, and the tests have been modified to assert against the stores.
This was done to allow for more intuitive, flexible testing.
Other minor changes:
- Cleaned up some unnecessary functions in SMTP and ModelTypeEntity.
- Added helper functions for accessing ModelTypeEntity objects.
- Removed FakeMetadataChangeList. Simple* is sufficient for testing.
- Switch to using map[k] = v over map.insert(make_pair(k, v)) as the
former looks cleaner and does not silently fail if a value for k
already exists in the map.
BUG=569642
Review URL: https://codereview.chromium.org/1697563003
Cr-Commit-Position: refs/heads/master@{#377047}
Diffstat (limited to 'sync/sync_tests.gypi')
-rw-r--r-- | sync/sync_tests.gypi | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sync/sync_tests.gypi b/sync/sync_tests.gypi index 6f3231a..122641e 100644 --- a/sync/sync_tests.gypi +++ b/sync/sync_tests.gypi @@ -183,7 +183,6 @@ 'test_support_sync_core', ], 'sources': [ - 'internal_api/public/test/fake_metadata_change_list.h', 'internal_api/public/test/fake_model_type_service.h', 'internal_api/public/test/fake_sync_manager.h', 'internal_api/public/test/model_type_store_test_util.h', @@ -192,7 +191,6 @@ 'internal_api/public/test/test_entry_factory.h', 'internal_api/public/test/test_internal_components_factory.h', 'internal_api/public/test/test_user_share.h', - 'internal_api/test/fake_metadata_change_list.cc', 'internal_api/test/fake_model_type_service.cc', 'internal_api/test/fake_sync_manager.cc', 'internal_api/test/model_type_store_test_util.cc', |