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:Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#771946}
Showing
This diff is collapsed.
Please register or sign in to comment