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.
Clean up some chrome/browser/download tests.
- Use ASSERT_TRUE() to avoid potential crashes. - Use EXPECT_FALSE(cond) instead of EXPECT_TRUE(!cond). - Use ADD_FAILURE() instead of EXPECT_TRUE(false). - Simplify DownloadsHistoryDataCollector::WaitForDownloadInfo(). - Shorten a 61 char long variable name. Change-Id: I23d6d5cad353da95df43bbb6a1f4372b08ff7407 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2241332 Reviewed-by: Xing Liu <xingliu@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#777402}
- Loading branch information
Showing
5 changed files
with
55 additions
and
77 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