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.
Migrate GURLTest for ReplaceComponents() to use simpler helpers.
In the futurem ,GURL::Replacements::Set...() will have restricted visibility in favor of GURL::Replacements::Set...Str(), so the current test harness will no longer compile. There were multiple possible approaches, but in the interests of making the test as readable as possible, each test case now explicitly configures GURL::Replacements rather than relying on a templated test helper. Bug: 1271865 Change-Id: I145f88ae56a3161ed9fac014bdccf85b3b09f239 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3292944 Reviewed-by: Mike West <mkwst@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/main@{#943634}
- Loading branch information
1 parent
54a210f
commit d8da6d0
Showing
1 changed file
with
81 additions
and
52 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