Home
last modified time | relevance | path

Searched refs:TestIdFactory (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/sync/syncable/
Dsyncable_id_unittest.cc24 v.push_back(TestIdFactory::FromNumber(5)); in TEST()
25 v.push_back(TestIdFactory::FromNumber(1)); in TEST()
26 v.push_back(TestIdFactory::FromNumber(-5)); in TEST()
27 v.push_back(TestIdFactory::MakeLocal("A")); in TEST()
28 v.push_back(TestIdFactory::MakeLocal("B")); in TEST()
29 v.push_back(TestIdFactory::MakeServer("A")); in TEST()
30 v.push_back(TestIdFactory::MakeServer("B")); in TEST()
Ddirectory_unittest.cc95 CreateEntry(model_type, entryname, TestIdFactory::FromNumber(-99)); in CreateEntry()
102 CreateEntry(model_type, entryname, TestIdFactory::FromNumber(id)); in CreateEntry()
221 Entry e(trans, GET_BY_ID, TestIdFactory::FromNumber(id)); in ValidateEntry()
438 Id id1 = TestIdFactory::FromNumber(-1); in TEST_F()
439 Id id2 = TestIdFactory::FromNumber(-2); in TEST_F()
557 Entry e(&rtrans, GET_BY_ID, TestIdFactory::FromNumber(-99)); in TEST_F()
564 Entry e(&rtrans, GET_BY_ID, TestIdFactory::FromNumber(-99)); in TEST_F()
604 e1.PutId(TestIdFactory::FromNumber(101)); in TEST_F()
610 e2.PutId(TestIdFactory::FromNumber(102)); in TEST_F()
676 e1.PutId(TestIdFactory::FromNumber(101)); in TEST_F()
[all …]
Dsyncable_unittest.cc215 TestIdFactory id_factory; in TEST_F()
324 Id update_id = TestIdFactory::FromNumber(1); in TEST_F()
442 e1.PutId(TestIdFactory::FromNumber(101)); in TEST_F()
488 kids_on_block.PutId(TestIdFactory::FromNumber(102)); in TEST_F()
525 e1.PutId(TestIdFactory::FromNumber(101)); in TEST_F()
530 e1.PutId(TestIdFactory::FromNumber(101)); in TEST_F()
621 TestIdFactory factory_;
/external/chromium_org/sync/test/engine/
Dtest_id_factory.h17 class TestIdFactory {
19 TestIdFactory() : next_value_(1337000) {} in TestIdFactory() function
20 ~TestIdFactory() {} in ~TestIdFactory()
Dmock_connection_manager.cc208 return AddUpdateDirectory(TestIdFactory::FromNumber(id), in AddUpdateDirectory()
209 TestIdFactory::FromNumber(parent_id), in AddUpdateDirectory()
237 return AddUpdateBookmark(TestIdFactory::FromNumber(id), in AddUpdateBookmark()
238 TestIdFactory::FromNumber(parent_id), in AddUpdateBookmark()
256 TestIdFactory::FromNumber(id).GetServerId(), in AddUpdateSpecifics()
257 TestIdFactory::FromNumber(parent_id).GetServerId(), in AddUpdateSpecifics()
289 ent->set_id_string(TestIdFactory::FromNumber(id).GetServerId()); in SetNigori()
290 ent->set_parent_id_string(TestIdFactory::FromNumber(0).GetServerId()); in SetNigori()
Dtest_syncable_utils.cc75 TestIdFactory::root(), in CreateTypeRoot()
86 node.PutId(syncer::TestIdFactory::MakeServer(tag_name)); in CreateTypeRoot()
/external/chromium_org/sync/internal_api/test/
Dtest_entry_factory.cc129 TestIdFactory::MakeServer(name), TestIdFactory::root(), in CreateUnappliedAndUnsyncedBookmarkItem()
149 syncable::Id parent_id(TestIdFactory::root()); in CreateSyncedItem()
150 syncable::Id item_id(TestIdFactory::MakeServer(name)); in CreateSyncedItem()
183 syncable::Id node_id = TestIdFactory::MakeServer("xyz"); in CreateUnappliedRootNode()
193 entry.PutServerParentId(TestIdFactory::root()); in CreateUnappliedRootNode()
/external/chromium_org/chrome/browser/sync/
Dtest_profile_sync_service.h94 syncer::TestIdFactory* id_factory();
111 syncer::TestIdFactory id_factory_;
Dtest_profile_sync_service.cc97 syncer::TestIdFactory* TestProfileSyncService::id_factory() { in id_factory()
/external/chromium_org/sync/engine/
Ddirectory_update_handler_unittest.cc720 entry.PutServerParentId(TestIdFactory::MakeServer("bogus_parent")); in TEST_F()
757 entry.PutServerParentId(TestIdFactory::MakeServer("Y")); in TEST_F()
762 TestIdFactory::MakeServer("Y"), TestIdFactory::MakeServer("X"), "Y", true, in TEST_F()
793 syncable::Id::CreateFromServerId("parent"), TestIdFactory::root(), in TEST_F()
842 entry.PutServerParentId(TestIdFactory::root()); in TEST_F()
848 TestIdFactory::MakeServer("child"), TestIdFactory::MakeServer("parent"), in TEST_F()
Dsyncer_unittest.cc327 root_id_ = TestIdFactory::root(); in SetUp()
418 last_commit_item.id = TestIdFactory::root(); in MakeLastCommitItem()
584 TestIdFactory ids_;
1104 syncable::Id pref_node_id = TestIdFactory::MakeServer("Tim"); in TEST_F()
1209 parent2.PutId(TestIdFactory::MakeServer("Tim")); in TEST_F()
1811 Id root = TestIdFactory::root(); in TEST_F()
2279 TestIdFactory::root(), in CreateFolderInBob()
2311 GetOnlyEntryWithName(&trans, TestIdFactory::root(), "bob")); in TEST_F()
2935 mock_server_->AddUpdateDirectory(parent_id, TestIdFactory::root(), in TEST_F()
3386 syncable::Id stuck_entry_id = TestIdFactory::FromNumber(99999); in TEST_F()
[all …]
Ddirectory_commit_contribution_unittest.cc105 TestIdFactory id_factory_;
Dapply_control_data_updates_unittest.cc53 TestIdFactory id_factory_;
/external/chromium_org/sync/internal_api/
Dsync_encryption_handler_impl_unittest.cc339 TestIdFactory ids_;
Dsync_manager_impl_unittest.cc2870 TestIdFactory id_factory_;