• Sven Zheng's avatar
    Get the first sync test work on Android · 1667cd2f
    Sven Zheng authored
    This cl get SingleClientTypedUrlsSyncTest works on Android. Clank
    doesn't support multiple profiles, and all sync tests need multiple
    profiles. For single client test on desktop, it need at least 2 profiles:
    1 The default browser and profile, started by browser test;
    2 The browser and profile under test, created by AddBrowser();
    3 If verifier is enabled, create another verifier profile.
    For Android, we can't do that. This cl does:
    * Only support single client test on Android.
    * For 1 and 2, we only use the default browser and profile as SUT.
    * For 3, we don't support it for Android.
    
    android_sync_integration_tests.
    $ autoninja -C out/Clank android_sync_integration_tests
    $ out/Clank/android_sync_integration_tests
    
    TEST: Locally tested on a Next 5X device for target
    BUG: 1117345
    Change-Id: I0167164334fc63be5cc278c145daf130ba16912e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2387404Reviewed-by: default avatarMarc Treib <treib@chromium.org>
    Commit-Queue: Sven Zheng <svenzheng@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#803930}
    1667cd2f
sync_test.cc 45.5 KB