DescriptionAllow MainSync deviation of 1px in AndroidScrollIntegrationTest
This change alters AndroidScrollIntegrationTest to allow for a
1px negative deviation when asserting scroll values.
This is necessary due to Math being used in productive code that
is slightly different than the DIP scale verification done in
this test.
It also moves asserts onto the testing thread to get stack traces
in case a test fails.
BUG=537343
Committed: https://crrev.com/79e506a61a58a10da7e826e4acba6f7fe4e94845
Cr-Commit-Position: refs/heads/master@{#353937}
Patch Set 1 #Patch Set 2 : Keep flooring but allow 1 pixel downwards deviation #
Total comments: 1
Patch Set 3 : Added a comment and updated commit message #
Messages
Total messages: 15 (3 generated)
|