Commit d845bf71 authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa Committed by Commit Bot

PlatformSensorAndProviderLinuxTest: Make InitializeMockUdevMethods() implicit.

Instead of requiring each test to call InitializeMockUdevMethods(), install
the mocks automatically in MockSensorDeviceManager itself.

There is no functional change, but the code should look cleaner.

Change-Id: I428cca938b3d13163f23f7bd2a093ca168081833
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2214389
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#771946}
parent bb7a673f
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment