Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(799)

Issue 2341923003: Refactor disk_mount_manager_unittest by replacing gmock with a dedicated mock class of DiskMountMan… (Closed)

Created:
4 years, 3 months ago by yamaguchi
Modified:
4 years, 3 months ago
Reviewers:
satorux1
CC:
chromium-reviews, oshima+watch_chromium.org, fukino
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor disk_mount_manager_unittest by replacing gmock with a dedicated mock class of DiskMountManagerObserver. This change is based on https://codereview.chromium.org/2333983004/ which was once merged but reverted by https://codereview.chromium.org/2343593002/ BUG=641943 TEST=chromeos_unittest build with is_asan and is_lsan = true in gn args, and run with ASAN_OPTIONS="detect_leaks=1 symbolize=1" environment variable. Committed: https://crrev.com/cafadf5bd103b96c300eed6aad4244837d9f6b76 Cr-Commit-Position: refs/heads/master@{#418811}

Patch Set 1 : Copied from the original CL. #

Patch Set 2 : Add virtual destructor of the base events class. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+402 lines, -220 lines) Patch
M chromeos/disks/disk_mount_manager_unittest.cc View 1 20 chunks +402 lines, -220 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
yamaguchi
ptal. I checked the error that happened with the original CL: https://findit-for-me.appspot.com/waterfall/build-failure?url=https%3A%2F%2Fptop.only.wip.la%3A443%2Fhttps%2Fbuild.chromium.org%2Fp%2Fchromium.memory%2Fbuilders%2FLinux%2520Chromium%2520OS%2520ASan%2520LSan%2520Tests%2520%25281%2529%2Fbuilds%2F16138 was detected by ...
4 years, 3 months ago (2016-09-15 03:59:13 UTC) #4
satorux1
lgtm
4 years, 3 months ago (2016-09-15 06:53:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2341923003/20001
4 years, 3 months ago (2016-09-15 09:01:47 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-15 09:06:14 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 09:07:44 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cafadf5bd103b96c300eed6aad4244837d9f6b76
Cr-Commit-Position: refs/heads/master@{#418811}

Powered by Google App Engine
This is Rietveld 408576698