commit | bee42ccbb22a090614e2c46995978ceca563298a | [log] [tgz] |
---|---|---|
author | Giovanni Ortuño Urquidi <ortuno@chromium.org> | Mon May 20 00:42:43 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 20 00:42:43 2019 |
tree | 5218bad785b1125dd956cdec437077fbe79428e5 | |
parent | 63b9cb66b1b8968acd01c5e51ddff01a5c64b7f7 [diff] |
desktop-pwas: Rewrite fake BookmarkAppInstallation in PendingAppManager tests Previously a PendingBookmarkAppManager could be created with either installation tasks that always succeeded or with installation tasks that always failed. This made writing tests that needed some tasks to fail and some to succeed impossible to write. This CL changes how fake tasks are created and allows tests to control the result of each specific task. Bug: 916381 Change-Id: Ie10b5fd8866713414d3878ce7dd38615a2aec44f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1615041 Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org> Reviewed-by: Alexey Baskakov <loyso@chromium.org> Cr-Commit-Position: refs/heads/master@{#661240}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .