forked from chromium/chromium
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeHealth: Fix SWA Mgr unittest to not require web app sync_bridge
Previously this test directly inserted WebApps into the web app registrar, which is not exercising the real code that sets up SWAs. Changed this to use the higher-level testing function for installing a web app. Also solves a DEPS issue because sync_bridge is not allowed to be included by this code (it was also previously missing an include for web_app_sync_bridge.h). Note this changes the test expectations, but it seems like it should have been expected to uninstall App2 originally (and in fact this was the case in a previous iteration of this code in crrev.com/c/4587571). POC for this change: dmurph@ if glenrob@ is unavailable. Change-Id: Id72b5236118a8c82558a0754056ab5e15c395e16 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5573227 Reviewed-by: Hidehiko Abe <hidehiko@chromium.org> Commit-Queue: Hidehiko Abe <hidehiko@chromium.org> Auto-Submit: Glen Robertson <glenrob@chromium.org> Cr-Commit-Position: refs/heads/main@{#1306685}
- Loading branch information
Showing
2 changed files
with
25 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters