DescriptionRefactor 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. #Messages
Total messages: 14 (9 generated)
|