Use mock time in CompositorFrameReportingControllerTest
Currently, the test uses base::TimeTicks::Now() for timings which makes it hard to verify timing expectations. This CL changes the test to use a mock time that can be advanced on demand. This unblocks adding more tests. Bug: 1054009,1057193 Change-Id: I68448ac591d86d26246459cddd64f36d42bd82f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159413Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: Mohsen Izadi <mohsen@chromium.org> Cr-Commit-Position: refs/heads/master@{#761020}
Showing
Please register or sign in to comment