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

Issue 11414126: drive: Get rid of use of MockDriveUploader from c/b/c/drive (Closed)

Created:
8 years, 1 month ago by satorux1
Modified:
8 years, 1 month ago
Reviewers:
kinaba
CC:
chromium-reviews, achuith+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

drive: Get rid of use of MockDriveUploader from c/b/c/drive In drive_file_system_unittest.cc, what we needed was a fake, not a mock In stale_cache_files_remover_unittest.cc, what we needed was a stub, not a mock See also http://googletesting.blogspot.jp/2008/06/tott-friends-you-can-depend-on.html BUG=162351 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=169223

Patch Set 1 : polish #

Total comments: 10

Patch Set 2 : polish #

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -85 lines) Patch
M chrome/browser/chromeos/drive/drive_file_system_unittest.cc View 1 2 7 chunks +119 lines, -81 lines 0 comments Download
M chrome/browser/chromeos/drive/stale_cache_files_remover_unittest.cc View 1 2 4 chunks +61 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
satorux1
More code but much easier to understand!
8 years, 1 month ago (2012-11-22 05:56:52 UTC) #1
kinaba
Not quite sure but... https://codereview.chromium.org/11414126/diff/2001/chrome/browser/chromeos/drive/drive_file_system_unittest.cc File chrome/browser/chromeos/drive/drive_file_system_unittest.cc (right): https://codereview.chromium.org/11414126/diff/2001/chrome/browser/chromeos/drive/drive_file_system_unittest.cc#newcode123 chrome/browser/chromeos/drive/drive_file_system_unittest.cc:123: FakeDriveUploader() {}; semicolon not needed. ...
8 years, 1 month ago (2012-11-22 06:12:13 UTC) #2
satorux1
https://codereview.chromium.org/11414126/diff/2001/chrome/browser/chromeos/drive/drive_file_system_unittest.cc File chrome/browser/chromeos/drive/drive_file_system_unittest.cc (right): https://codereview.chromium.org/11414126/diff/2001/chrome/browser/chromeos/drive/drive_file_system_unittest.cc#newcode123 chrome/browser/chromeos/drive/drive_file_system_unittest.cc:123: FakeDriveUploader() {}; On 2012/11/22 06:12:13, kinaba wrote: > semicolon ...
8 years, 1 month ago (2012-11-22 06:16:12 UTC) #3
kinaba
8 years, 1 month ago (2012-11-22 06:17:57 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698