Searched refs:FromNumber (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/sync/engine/ |
D | syncer_unittest.cc | 639 MutableEntry A(&wtrans, GET_BY_ID, ids_.FromNumber(1)); in TEST_F() 658 Entry entryA(&rtrans, syncable::GET_BY_ID, ids_.FromNumber(1)); in TEST_F() 669 Entry entryA(&rtrans, syncable::GET_BY_ID, ids_.FromNumber(1)); in TEST_F() 679 Entry entryA(rtrans, syncable::GET_BY_ID, id_fac.FromNumber(id)); \ 689 entryA.GetParentId()== id_fac.FromNumber(parent_id)); \ 730 MutableEntry A(&wtrans, GET_BY_ID, ids_.FromNumber(1)); in TEST_F() 736 MutableEntry B(&wtrans, GET_BY_ID, ids_.FromNumber(2)); in TEST_F() 742 MutableEntry C(&wtrans, GET_BY_ID, ids_.FromNumber(3)); in TEST_F() 747 MutableEntry D(&wtrans, GET_BY_ID, ids_.FromNumber(4)); in TEST_F() 785 MutableEntry C(&wtrans, GET_BY_ID, ids_.FromNumber(3)); in TEST_F() [all …]
|
/external/chromium_org/sync/syncable/ |
D | syncable_id_unittest.cc | 24 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()
|
D | directory_unittest.cc | 95 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 …]
|
D | syncable_unittest.cc | 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()
|
/external/chromium_org/sync/test/engine/ |
D | mock_connection_manager.cc | 208 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()
|
D | test_id_factory.h | 31 static syncable::Id FromNumber(int64 value) { in FromNumber() function
|