Lines Matching refs:folder
1364 // Create a folder and an entry.
1367 MutableEntry parent(&trans, CREATE, root_id_, "Folder");
1414 // Create a folder, expect a commit time rename.
1417 MutableEntry parent(&trans, CREATE, root_id_, "Folder");
1432 expected_folder_name.append("Folder");
1447 // Create a folder in the root.
1459 // Verify it and pull the ID out of the folder.
1470 // Create an entry in the newly created folder.
1498 // The following update should cause the folder to both apply the update, as
1511 // The folder's ID should have been updated.
1513 Entry folder(&trans, GET_BY_HANDLE, metahandle_folder);
1514 ASSERT_TRUE(folder.good());
1515 EXPECT_EQ("new_folder", folder.Get(NON_UNIQUE_NAME));
1516 EXPECT_TRUE(new_version == folder.Get(BASE_VERSION));
1517 EXPECT_TRUE(new_folder_id == folder.Get(ID));
1518 EXPECT_TRUE(folder.Get(ID).ServerKnows());
1519 EXPECT_EQ(trans.root_id(), folder.Get(PARENT_ID));
1521 // Since it was updated, the old folder should not exist.
1871 MutableEntry parent(&wtrans, syncable::CREATE, root_id_, "Folder");
1959 MutableEntry parent(&wtrans, CREATE, root_id_, "Folder");
1974 mock_server_->AddUpdateDirectory(parent_id, root_id_, "Folder", 10, 10);
2045 // make a new folder bob
2047 // make a new folder fred
2816 // This test is a little brittle. We want to move the item into the folder
2834 // New ID is created to fill parent folder, named correctly
3131 // Same as 2, except we deleted the folder the set is in between set building
3371 MutableEntry folder(&trans, CREATE, trans.root_id(), "bob");
3372 ASSERT_TRUE(folder.good());
3373 folder.Put(IS_UNSYNCED, true);
3374 folder.Put(IS_DIR, true);
3375 folder.Put(SPECIFICS, DefaultBookmarkSpecifics());
3597 // First we an item in a folder in the root. However the folder won't come
3617 // Ensure our folder hasn't somehow applied.
3627 // And finally the folder.
3629 TestIdFactory::root(), "folder", 1, 1);