• Javier Ernesto Flores Robles's avatar
    [iOS][EG2] Add a common method for rotation · 254044d9
    Javier Ernesto Flores Robles authored
    This adds a common method to our testing class that can be used in EG1
    and EG2.
    |EarlGrey| has 2 methods to rotate the device, once for EG1 and another
    for EG2. Which makes this check pretty common in the EG2 migration.
    Adding it to the base test class instead of to |EarlGrey| to avoid
    creating a 3rd method signature for it. Once EG1 support is removed a
    simple search and replace can be used to clean this.
    
    Bug: 1016368
    
    Change-Id: I24b2c4ae56266111e6069990252164090df80bb9
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1871874
    Commit-Queue: Javier Ernesto Flores Robles <javierrobles@chromium.org>
    Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#708696}
    254044d9
chrome_earl_grey.mm 25 KB