• Xianzhu Wang's avatar
    Convert some LayerTreeHostCommon* tests to layer list mode · 5b429f09
    Xianzhu Wang authored
    They are first converted with a script in
    https://chromium-review.googlesource.com/c/chromium/src/+/1772308,
    then checked, tested and modified manually.
    
    Make layer list mode the default mode for LayerTreeHostCommonTest.
    
    Tests still in layer tree mode are under
    LayerTreeHostCommonTestWithLayerTree. Some tests can't be converted
    into layer list mode because:
    - They are testing features that for ui compositor;
    - They are testing PropertyTreeBuilder; or
    
    Also haven't converted tests that create layer tree in main-side,
    and build property trees with the main-side PropertyTreeBuilder.
    
    The tests still in layer tree mode using impl-side PropertyTreeBuilder
    will be converted to use main-side PropertyTreeBuilder.
    
    109 of 167 tests have been converted.
    
    Bug: 994361
    Change-Id: I04444c861c6f0e8aefa71b6cff2879b54429bc1e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1775746Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
    Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#691785}
    5b429f09
property_tree_test_utils.cc 11.9 KB