[Android WebAPK] Introduce builder for WebApkInfo for tests
This CL: - Removes id parameter from WebApkInfo#create() - Introduces builder class for WebApkInfo - WebApkInfoBuilder - and refactors tests to use it - Removes test-only 14 arg WebappInfo#create() method and switches tests to use WebappInfo#create() version which takes intent as input - Introduces method to create minimal intent for building WebappInfo - WebappTestHelper#createMinimalWebappIntent() - Changes WebApkUkmRecorder to work with tests which where WebApkInfo#manifestUrl() returns null BUG=None Change-Id: I7d2eb49c47509f6581e579fb05f3b9c7330eeca6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1759927Reviewed-by:Dominick Ng <dominickn@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Cr-Commit-Position: refs/heads/master@{#688286}
Showing
Please register or sign in to comment