Description[sensors] Close mock sensor stubs after test is finished
Before this CL, mock sensor instance was reused by all tests. This CL adds
code that closes mocked sensor stubs after each test, so that on the Blink
side, SensorProxy will reset and release resources associated with the sensor.
This allows to write layout tests that simulate different behavior for the
sensor of the same type.
BUG=606766
Committed: https://crrev.com/f0948b6c3cec6e8764fef47ed299d5a77414a987
Cr-Commit-Position: refs/heads/master@{#429564}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix for comment from Mikhail #
Messages
Total messages: 22 (13 generated)
|