forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TTS][RSearches] Add tests for Related Searches
Adds some tests for Related Searches and do minor test refactoring to expose more internal data and allow the Policy to override the user-permission to send the URL (which is currently required by Related Searches). Adds some tests that Related Searches requests are being made and results are coming back (from the fake server) when appropriate. Some refactoring of the Network Communicator was needed to expose the context to the fake server and to make sure all the functionality except logging is done in the manager so tests will have those effects too. BUG=1062737 Change-Id: Iecf2129785febdae8af026c5c3d12c89b12cfb46 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2689681 Commit-Queue: Donn Denman <donnd@chromium.org> Reviewed-by: Sinan Sahin <sinansahin@google.com> Cr-Commit-Position: refs/heads/master@{#857259}
- Loading branch information
Donn Denman
authored and
Chromium LUCI CQ
committed
Feb 24, 2021
1 parent
ae74076
commit 3ae821b
Showing
7 changed files
with
110 additions
and
30 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
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
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
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