Lines Matching refs:EXPECT_EQ
34 EXPECT_EQ(1, feed->start_index());
35 EXPECT_EQ(1000, feed->items_per_page());
36 EXPECT_EQ(update_time, feed->updated_time());
40 EXPECT_EQ("tester", feed->authors()[0]->name());
41 EXPECT_EQ("tester@testing.com", feed->authors()[0]->email());
47 EXPECT_EQ("https://self_link/", self_link->href().spec());
48 EXPECT_EQ("application/atom+xml", self_link->mime_type());
53 EXPECT_EQ("https://resumable_create_media_link/",
55 EXPECT_EQ("application/atom+xml", resumable_link->mime_type());
63 EXPECT_EQ(ENTRY_KIND_FOLDER, folder_entry->kind());
64 EXPECT_EQ("\"HhMOFgcNHSt7ImBr\"", folder_entry->etag());
65 EXPECT_EQ("folder:sub_sub_directory_folder_id", folder_entry->resource_id());
66 EXPECT_EQ("https://1_folder_id", folder_entry->id());
67 EXPECT_EQ("Entry 1 Title", folder_entry->title());
74 EXPECT_EQ(entry1_update_time, folder_entry->updated_time());
75 EXPECT_EQ(entry1_publish_time, folder_entry->published_time());
78 EXPECT_EQ("entry_tester", folder_entry->authors()[0]->name());
79 EXPECT_EQ("entry_tester@testing.com", folder_entry->authors()[0]->email());
80 EXPECT_EQ("https://1_folder_content_url/",
82 EXPECT_EQ("application/atom+xml;type=feed",
93 EXPECT_EQ("https://1_folder_alternate_link/",
95 EXPECT_EQ("text/html", entry1_alternate_link->mime_type());
99 EXPECT_EQ("https://1_edit_link/", entry1_edit_link->href().spec());
100 EXPECT_EQ("application/atom+xml", entry1_edit_link->mime_type());
105 EXPECT_EQ(ENTRY_KIND_FILE, file_entry->kind());
106 EXPECT_EQ("filename.m4a", file_entry->filename());
107 EXPECT_EQ("sugg_file_name.m4a", file_entry->suggested_filename());
108 EXPECT_EQ("3b4382ebefec6e743578c76bbd0575ce", file_entry->file_md5());
109 EXPECT_EQ(892721, file_entry->file_size());
112 EXPECT_EQ("https://file_link_parent/", file_parent_link->href().spec());
113 EXPECT_EQ("application/atom+xml", file_parent_link->mime_type());
114 EXPECT_EQ("Medical", file_parent_link->title());
118 EXPECT_EQ("https://xml_file_entry_open_with_link/",
120 EXPECT_EQ("application/atom+xml", file_open_with_link->mime_type());
121 EXPECT_EQ("the_app_id", file_open_with_link->app_id());
122 EXPECT_EQ(654321, file_entry->changestamp());
126 EXPECT_EQ("https://xml_file_fake_entry_open_with_link/",
128 EXPECT_EQ("application/atom+xml", file_unknown_link->mime_type());
129 EXPECT_EQ("", file_unknown_link->app_id());
134 EXPECT_EQ(ENTRY_KIND_DOCUMENT, resource_entry->kind());
142 EXPECT_EQ(ENTRY_KIND_EXTERNAL_APP, app_entry->kind());
159 EXPECT_EQ(ENTRY_KIND_FILE, entry->kind());
160 EXPECT_EQ("\"HhMOFgxXHit7ImBr\"", entry->etag());
161 EXPECT_EQ("file:2_file_resource_id", entry->resource_id());
162 EXPECT_EQ("2_file_id", entry->id());
163 EXPECT_EQ("File 1.mp3", entry->title());
170 EXPECT_EQ(entry1_update_time, entry->updated_time());
171 EXPECT_EQ(entry1_publish_time, entry->published_time());
173 EXPECT_EQ(1U, entry->authors().size());
174 EXPECT_EQ("tester", entry->authors()[0]->name());
175 EXPECT_EQ("tester@testing.com", entry->authors()[0]->email());
176 EXPECT_EQ("https://file_content_url/",
178 EXPECT_EQ("audio/mpeg",
185 EXPECT_EQ(ResourceLink::FEED_LINK_REVISIONS, feed_link_1->type());
192 EXPECT_EQ("https://file_link_alternate/",
194 EXPECT_EQ("text/html", entry1_alternate_link->mime_type());
198 EXPECT_EQ("https://file_edit_media/",
200 EXPECT_EQ("audio/mpeg", entry1_edit_link->mime_type());
204 EXPECT_EQ("https://file1_link_self/file%3A2_file_resource_id",
206 EXPECT_EQ("application/atom+xml", entry1_self_link->mime_type());
207 EXPECT_EQ("", entry1_self_link->app_id());
212 EXPECT_EQ("https://entry1_open_with_link/",
214 EXPECT_EQ("application/atom+xml", entry1_open_with_link->mime_type());
215 EXPECT_EQ("the_app_id", entry1_open_with_link->app_id());
219 EXPECT_EQ("https://entry1_fake_entry_open_with_link/",
221 EXPECT_EQ("application/atom+xml", entry1_unknown_link->mime_type());
222 EXPECT_EQ("", entry1_unknown_link->app_id());
225 EXPECT_EQ(ENTRY_KIND_FILE, entry->kind());
226 EXPECT_EQ("File 1.mp3", entry->filename());
227 EXPECT_EQ("File 1.mp3", entry->suggested_filename());
228 EXPECT_EQ("3b4382ebefec6e743578c76bbd0575ce", entry->file_md5());
229 EXPECT_EQ(892721, entry->file_size());
233 EXPECT_EQ(-1, entry->image_width());
234 EXPECT_EQ(-1, entry->image_height());
235 EXPECT_EQ(-1, entry->image_rotation());
239 EXPECT_EQ(
244 EXPECT_EQ(
249 EXPECT_EQ(
254 EXPECT_EQ(
259 EXPECT_EQ(
264 EXPECT_EQ(
269 EXPECT_EQ(
273 EXPECT_EQ(
277 EXPECT_EQ(
281 EXPECT_EQ(
288 EXPECT_EQ(ResourceEntry::KIND_OF_NONE,
290 EXPECT_EQ(ResourceEntry::KIND_OF_NONE,
292 EXPECT_EQ(ResourceEntry::KIND_OF_NONE,
294 EXPECT_EQ(ResourceEntry::KIND_OF_GOOGLE_DOCUMENT |
297 EXPECT_EQ(ResourceEntry::KIND_OF_GOOGLE_DOCUMENT |
300 EXPECT_EQ(ResourceEntry::KIND_OF_GOOGLE_DOCUMENT |
303 EXPECT_EQ(ResourceEntry::KIND_OF_GOOGLE_DOCUMENT |
306 EXPECT_EQ(ResourceEntry::KIND_OF_GOOGLE_DOCUMENT |
309 EXPECT_EQ(ResourceEntry::KIND_OF_EXTERNAL_DOCUMENT |
312 EXPECT_EQ(ResourceEntry::KIND_OF_FOLDER,
314 EXPECT_EQ(ResourceEntry::KIND_OF_FILE,
316 EXPECT_EQ(ResourceEntry::KIND_OF_FILE,