Searched refs:FromNumber (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/sync/engine/ |
D | syncer_unittest.cc | 628 MutableEntry A(&wtrans, GET_BY_ID, ids_.FromNumber(1)); in TEST_F() 647 Entry entryA(&rtrans, syncable::GET_BY_ID, ids_.FromNumber(1)); in TEST_F() 658 Entry entryA(&rtrans, syncable::GET_BY_ID, ids_.FromNumber(1)); in TEST_F() 668 Entry entryA(rtrans, syncable::GET_BY_ID, id_fac.FromNumber(id)); \ 678 entryA.GetParentId()== id_fac.FromNumber(parent_id)); \ 719 MutableEntry A(&wtrans, GET_BY_ID, ids_.FromNumber(1)); in TEST_F() 725 MutableEntry B(&wtrans, GET_BY_ID, ids_.FromNumber(2)); in TEST_F() 731 MutableEntry C(&wtrans, GET_BY_ID, ids_.FromNumber(3)); in TEST_F() 736 MutableEntry D(&wtrans, GET_BY_ID, ids_.FromNumber(4)); in TEST_F() 774 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() 436 Id id1 = TestIdFactory::FromNumber(-1); in TEST_F() 437 Id id2 = TestIdFactory::FromNumber(-2); in TEST_F() 555 Entry e(&rtrans, GET_BY_ID, TestIdFactory::FromNumber(-99)); in TEST_F() 562 Entry e(&rtrans, GET_BY_ID, TestIdFactory::FromNumber(-99)); in TEST_F() 602 e1.PutId(TestIdFactory::FromNumber(101)); in TEST_F() 608 e2.PutId(TestIdFactory::FromNumber(102)); in TEST_F() 674 e1.PutId(TestIdFactory::FromNumber(101)); in TEST_F() [all …]
|
D | syncable_unittest.cc | 330 Id update_id = TestIdFactory::FromNumber(1); in TEST_F() 448 e1.PutId(TestIdFactory::FromNumber(101)); in TEST_F() 494 kids_on_block.PutId(TestIdFactory::FromNumber(102)); in TEST_F() 530 e1.PutId(TestIdFactory::FromNumber(101)); in TEST_F() 535 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
|