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

Issue 11824023: Add unittest for google_apis::GetAboutOperation. (Closed)

Created:
7 years, 11 months ago by hidehiko
Modified:
7 years, 11 months ago
Reviewers:
Lei Zhang, satorux1, kinaba
CC:
chromium-reviews, achuith+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add unittest for google_apis::GetAboutOperation. This CL adds test cases for google_apis::GetAboutOperation. Also, it naturally introduces the testing base code for the operations communicating with a drive api server, so that it will be reused for unit tests of other operation classes in drive_api_operations.{h,cc} later. BUG=162155 TEST=Ran unit_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176066

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Exclude the test from Android as same as gdata_wapi_operations_unittest. #

Total comments: 4

Patch Set 4 : Move testing utilities to test_util to share them with gdata_wapi_operations_unittest. #

Patch Set 5 : Get rid of EXPECT_X creation. Move the verification method to test_util to share it with gdata_wapi… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -86 lines) Patch
A chrome/browser/google_apis/drive_api_operations_unittest.cc View 1 2 3 4 1 chunk +144 lines, -0 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_operations_unittest.cc View 1 2 3 4 35 chunks +63 lines, -86 lines 0 comments Download
M chrome/browser/google_apis/test_util.h View 1 2 3 4 3 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/google_apis/test_util.cc View 1 2 3 4 3 chunks +40 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
hidehiko
Lei, could you kindly review a .gypi file? Satoru, Kazuhiro, could you take a look ...
7 years, 11 months ago (2013-01-09 16:39:09 UTC) #1
Lei Zhang
.gypi file lgtm
7 years, 11 months ago (2013-01-09 19:56:28 UTC) #2
satorux1
https://codereview.chromium.org/11824023/diff/7/chrome/browser/google_apis/drive_api_operations_unittest.cc File chrome/browser/google_apis/drive_api_operations_unittest.cc (right): https://codereview.chromium.org/11824023/diff/7/chrome/browser/google_apis/drive_api_operations_unittest.cc#newcode35 chrome/browser/google_apis/drive_api_operations_unittest.cc:35: void CopyResultFromGetDataCallbackAndQuit( Please move this to test_util.cc so we ...
7 years, 11 months ago (2013-01-10 01:07:41 UTC) #3
hidehiko
Thank you for your review. Satoru, could you take another look? https://codereview.chromium.org/11824023/diff/7/chrome/browser/google_apis/drive_api_operations_unittest.cc File chrome/browser/google_apis/drive_api_operations_unittest.cc (right): ...
7 years, 11 months ago (2013-01-10 04:00:16 UTC) #4
satorux1
LGTM. Thanks!
7 years, 11 months ago (2013-01-10 05:53:07 UTC) #5
kinaba
lgtm++
7 years, 11 months ago (2013-01-10 05:54:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/11824023/16001
7 years, 11 months ago (2013-01-10 05:58:48 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_aura for step(s) content_browsertests
7 years, 11 months ago (2013-01-10 08:34:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/11824023/16001
7 years, 11 months ago (2013-01-10 08:37:06 UTC) #9
commit-bot: I haz the power
7 years, 11 months ago (2013-01-10 14:17:57 UTC) #10
Message was sent while issue was closed.
Change committed as 176066

Powered by Google App Engine
This is Rietveld 408576698