Speed up AppInfoDialogViewsTest.
These test a dialog which shows info about an app, including the size of the app. When run in a test the app doesn't exist. The size calculation still runs, however, and ends up calculaing the size of the working directory, which can be really slow. This change skips calculating the size if the app doesn't have a path. Bug: 953964 Change-Id: Ie7ec878bfd26f2ac9c53bde3fa1c7c0327f0198c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1594384 Commit-Queue: Ben Wells <benwells@chromium.org> Reviewed-by:Bruce Dawson <brucedawson@chromium.org> Cr-Commit-Position: refs/heads/master@{#658329}
Showing
Please register or sign in to comment