Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: google_apis/drive/drive_api_parser_unittest.cc

Issue 2344113002: Parse 'starred' attribute to FileLables in DriveAPI. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « google_apis/drive/drive_api_parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/drive_api_parser_unittest.cc
diff --git a/google_apis/drive/drive_api_parser_unittest.cc b/google_apis/drive/drive_api_parser_unittest.cc
index a51018aeef04d3541d6193e59f49539264190c4a..712e0ec636397d6559535eb4c90717c424eff542 100644
--- a/google_apis/drive/drive_api_parser_unittest.cc
+++ b/google_apis/drive/drive_api_parser_unittest.cc
@@ -134,6 +134,7 @@ TEST(DriveAPIParserTest, FileListParser) {
EXPECT_EQ("application/octet-stream", file1.mime_type());
EXPECT_FALSE(file1.labels().is_trashed());
+ EXPECT_FALSE(file1.labels().is_starred());
EXPECT_FALSE(file1.shared());
EXPECT_EQ(640, file1.image_media_metadata().width());
@@ -171,6 +172,7 @@ TEST(DriveAPIParserTest, FileListParser) {
EXPECT_EQ("application/vnd.google-apps.document", file2.mime_type());
EXPECT_TRUE(file2.labels().is_trashed());
+ EXPECT_TRUE(file2.labels().is_starred());
EXPECT_TRUE(file2.shared());
EXPECT_EQ(-1, file2.image_media_metadata().width());
« no previous file with comments | « google_apis/drive/drive_api_parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698