Chromium Code Reviews| Index: chrome/browser/chromeos/gdata/drive_api_parser_unittest.cc |
| diff --git a/chrome/browser/chromeos/gdata/drive_api_parser_unittest.cc b/chrome/browser/chromeos/gdata/drive_api_parser_unittest.cc |
| index 73450cb221d5c8aafc7b08675ca67a9e62186557..ae86b6b90167085332ce0c37508d8e4e78ccf1dd 100644 |
| --- a/chrome/browser/chromeos/gdata/drive_api_parser_unittest.cc |
| +++ b/chrome/browser/chromeos/gdata/drive_api_parser_unittest.cc |
| @@ -170,6 +170,12 @@ TEST_F(DriveAPIParserTest, FileListParser) { |
| EXPECT_EQ("My first file data", file1.title()); |
| EXPECT_EQ("application/octet-stream", file1.mime_type()); |
| + EXPECT_FALSE(file1.labels().is_starred()); |
| + EXPECT_FALSE(file1.labels().is_hidden()); |
| + EXPECT_FALSE(file1.labels().is_trashed()); |
| + EXPECT_FALSE(file1.labels().is_restricted()); |
| + EXPECT_TRUE(file1.labels().is_viewed()); |
|
hashimoto
2012/08/14 02:23:10
Could you add tests to ensure that other four gett
kochi
2012/08/14 02:32:12
Done.
|
| + |
| base::Time created_time; |
| ASSERT_TRUE(gdata::util::GetTimeFromString("2012-07-24T08:51:16.570Z", |
| &created_time)); |