Lines Matching defs:entry
21 ArticleEntry entry;
22 entry.set_entry_id(entry_id);
24 ArticleEntryPage* page = entry.add_pages();
28 ArticleEntryPage* page = entry.add_pages();
32 ArticleEntryPage* page = entry.add_pages();
35 return entry;
39 const ArticleEntry& entry) {
41 for (int i = 0; i < entry.pages_size(); ++i) {
43 page->set_url(entry.pages(i).url());
44 page->set_html("<div>" + entry.pages(i).url() + "</div>");
78 const ArticleEntry entry = CreateEntry("test-id", "url1", "url2", "url3");
80 CreateDistilledArticleForEntry(entry);
81 store_->SaveContent(entry,
89 store_->LoadContent(entry,
102 const ArticleEntry entry = CreateEntry("bogus-id", "url1", "url2", "url3");
103 store_->LoadContent(entry,
246 const ArticleEntry entry = CreateEntry("test-id", "url1", "url2", "url3");
248 CreateDistilledArticleForEntry(entry);
249 store_->SaveContent(entry,
257 // Create an entry where the entry ID does not match, but the first URL does.
267 // Create an entry where the entry ID does not match, but the second URL does.
300 // Looking up the first entry by URL should succeed when it is still in the
325 // Looking up the first entry by URL should fail when it is not in the cache.