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

Unified Diff: chrome/browser/google_apis/fake_drive_service_unittest.cc

Issue 12861002: drive: Remove "/-/mine" from WAPI resource list urls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Modified the test feed to include an not-mine entry. Created 7 years, 9 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
Index: chrome/browser/google_apis/fake_drive_service_unittest.cc
diff --git a/chrome/browser/google_apis/fake_drive_service_unittest.cc b/chrome/browser/google_apis/fake_drive_service_unittest.cc
index 676d1adc4c25f4907b4e8db8fcaa05c35c5996c1..d327d4aa00634fcb7f5725976e93fd7325e6b9d8 100644
--- a/chrome/browser/google_apis/fake_drive_service_unittest.cc
+++ b/chrome/browser/google_apis/fake_drive_service_unittest.cc
@@ -113,7 +113,7 @@ TEST_F(FakeDriveServiceTest, GetResourceList_All) {
EXPECT_EQ(HTTP_SUCCESS, error);
ASSERT_TRUE(resource_list);
// Do some sanity check.
- EXPECT_EQ(13U, resource_list->entries().size());
+ EXPECT_EQ(14U, resource_list->entries().size());
EXPECT_EQ(1, fake_service_.resource_list_load_count());
}
@@ -136,9 +136,9 @@ TEST_F(FakeDriveServiceTest, GetResourceList_WithStartIndex) {
EXPECT_EQ(HTTP_SUCCESS, error);
ASSERT_TRUE(resource_list);
- // Because the start-offset was set to 2, the size should be 11 instead of
- // 13 (the total number).
- EXPECT_EQ(11U, resource_list->entries().size());
+ // Because the start-offset was set to 2, the size should be 12 instead of
+ // 14 (the total number).
+ EXPECT_EQ(12U, resource_list->entries().size());
EXPECT_EQ(1, fake_service_.resource_list_load_count());
}

Powered by Google App Engine
This is Rietveld 408576698