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

Issue 1216643002: Added unittests for SystemLogUploader. (Closed)

Created:
5 years, 6 months ago by Polina Bondarenko
Modified:
5 years, 4 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added unittests for SystemLogUploader. Time frequency and header constants in SystemLogUploader became public. BUG=471888 Committed: https://crrev.com/2bc0cb44b3fb3f963859a1772e17547f88bfd75c Cr-Commit-Position: refs/heads/master@{#342086}

Patch Set 1 : #

Patch Set 2 : Fixed according to the main log uploader CL. #

Total comments: 16

Patch Set 3 : Fixed comments. #

Total comments: 8

Patch Set 4 : Fixed deps since the SystemLogUploadJob was removed, fixed comments. #

Patch Set 5 : Fixed unittests according to the last system log uploader changes. #

Patch Set 6 : Fixed according to the last log uploader review changes. #

Patch Set 7 : #

Patch Set 8 : Rebased patch. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -19 lines) Patch
M chrome/browser/chromeos/policy/system_log_uploader.h View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/system_log_uploader.cc View 1 2 3 4 5 6 7 3 chunks +20 lines, -19 lines 0 comments Download
A chrome/browser/chromeos/policy/system_log_uploader_unittest.cc View 1 2 3 4 5 6 7 1 chunk +217 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 41 (22 generated)
Polina Bondarenko
Hi Andrew, there are unit tests for SystemLogUploader and SystemLogUploadJob. could you please take a ...
5 years, 6 months ago (2015-06-26 14:20:41 UTC) #3
Andrew T Wilson (Slow)
https://codereview.chromium.org/1216643002/diff/80001/chrome/browser/chromeos/policy/system_log_upload_job.cc File chrome/browser/chromeos/policy/system_log_upload_job.cc (right): https://codereview.chromium.org/1216643002/diff/80001/chrome/browser/chromeos/policy/system_log_upload_job.cc#newcode92 chrome/browser/chromeos/policy/system_log_upload_job.cc:92: base::Bind(failed_callback_); What does this line do? https://codereview.chromium.org/1216643002/diff/80001/chrome/browser/chromeos/policy/system_log_upload_job_unittest.cc File chrome/browser/chromeos/policy/system_log_upload_job_unittest.cc ...
5 years, 5 months ago (2015-07-03 16:20:00 UTC) #6
Polina Bondarenko
Fixed comments. https://codereview.chromium.org/1216643002/diff/80001/chrome/browser/chromeos/policy/system_log_upload_job.cc File chrome/browser/chromeos/policy/system_log_upload_job.cc (right): https://codereview.chromium.org/1216643002/diff/80001/chrome/browser/chromeos/policy/system_log_upload_job.cc#newcode92 chrome/browser/chromeos/policy/system_log_upload_job.cc:92: base::Bind(failed_callback_); On 2015/07/03 16:19:59, Andrew T Wilson ...
5 years, 5 months ago (2015-07-10 13:24:22 UTC) #11
Andrew T Wilson (Slow)
mostly LG with a few questions/nits https://codereview.chromium.org/1216643002/diff/170001/chrome/browser/chromeos/policy/system_log_uploader_unittest.cc File chrome/browser/chromeos/policy/system_log_uploader_unittest.cc (right): https://codereview.chromium.org/1216643002/diff/170001/chrome/browser/chromeos/policy/system_log_uploader_unittest.cc#newcode21 chrome/browser/chromeos/policy/system_log_uploader_unittest.cc:21: scoped_ptr<UploadJob> CreateUploadJob(const GURL&, ...
5 years, 5 months ago (2015-07-17 15:59:28 UTC) #12
Polina Bondarenko
Fixed comments, removed system_log_upload_job_unittests.cc since system log upload job doesn't exist anymore. https://codereview.chromium.org/1216643002/diff/170001/chrome/browser/chromeos/policy/system_log_uploader_unittest.cc File chrome/browser/chromeos/policy/system_log_uploader_unittest.cc ...
5 years, 4 months ago (2015-07-29 15:36:02 UTC) #14
Andrew T Wilson (Slow)
lgtm
5 years, 4 months ago (2015-08-03 13:19:30 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216643002/270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1216643002/270001
5 years, 4 months ago (2015-08-03 16:55:43 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/80483) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 4 months ago (2015-08-03 16:57:51 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216643002/270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1216643002/270001
5 years, 4 months ago (2015-08-04 08:32:26 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/80852) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 4 months ago (2015-08-04 08:34:08 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216643002/270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1216643002/270001
5 years, 4 months ago (2015-08-04 14:37:22 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/80933) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 4 months ago (2015-08-04 14:40:06 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216643002/270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1216643002/270001
5 years, 4 months ago (2015-08-05 08:41:26 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/81411) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 4 months ago (2015-08-05 08:43:30 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216643002/290001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1216643002/290001
5 years, 4 months ago (2015-08-05 10:31:26 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/88828)
5 years, 4 months ago (2015-08-05 12:20:42 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216643002/290001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1216643002/290001
5 years, 4 months ago (2015-08-06 09:26:33 UTC) #39
commit-bot: I haz the power
Committed patchset #8 (id:290001)
5 years, 4 months ago (2015-08-06 09:30:50 UTC) #40
commit-bot: I haz the power
5 years, 4 months ago (2015-08-06 09:31:23 UTC) #41
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/2bc0cb44b3fb3f963859a1772e17547f88bfd75c
Cr-Commit-Position: refs/heads/master@{#342086}

Powered by Google App Engine
This is Rietveld 408576698