• danakj's avatar
    cc: Stop testing occlusion by making awkward queries. · f080b5b7
    danakj authored
    We used to test the state of the occlusion tracker by making queries
    for various input rects to try and guess what its occlusion state
    must be. This is bad. Instead, we can query the state directly.
    
    This removes all state queries from tests that are verifying the
    occlusion tracker's internal state changes correctly. And adds some
    new tests that just set internal state and verify the query methods
    work correctly.
    
    R=enne
    
    Review URL: https://codereview.chromium.org/497493004
    
    Cr-Commit-Position: refs/heads/master@{#291608}
    f080b5b7
occlusion_tracker_unittest.cc 138 KB