Lines Matching defs:entry
30 ResourceEntry entry;
32 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &entry));
38 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(file_in_root, &entry));
40 const std::string id_file_in_root = entry.local_id();
41 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntryById(id_file_in_root, &entry));
42 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id());
46 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_subdir, &entry));
47 const std::string resource_id = entry.resource_id();
55 GetLocalResourceEntry(file_in_subdir, &entry));
57 const std::string id_file_in_subdir = entry.local_id();
59 GetLocalResourceEntryById(id_file_in_subdir, &entry));
60 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id());
65 GetLocalResourceEntry(nonexisting_file, &entry));
95 ResourceEntry entry;
102 GetLocalResourceEntry(empty_dir, &entry));
106 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(non_empty_dir, &entry));
113 GetLocalResourceEntry(non_empty_dir, &entry));
119 GetLocalResourceEntry(file_in_non_empty_dir, &entry));
126 GetLocalResourceEntry(non_empty_dir, &entry));
128 GetLocalResourceEntry(file_in_non_empty_dir, &entry));