Add unit tests for safe_browsing_url_checker_impl.
This is the first setup of safe_browsing_url_checker_impl unit tests. Use MockSafeBrowsingDatabaseManager, MockUrlCheckerDelegate and MockRealTimeUrlLookupService as helper classes for the tests. The current tests are mostly for verifying the overall workflows. They don't check every parameters in details. More value checks will be added in followup CLs. Bug: 1054660 Change-Id: I7a91bef4e9f307992080351a3a463d367669655d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2128937 Commit-Queue: Xinghui Lu <xinghuilu@chromium.org> Reviewed-by:Daniel Rubery <drubery@chromium.org> Cr-Commit-Position: refs/heads/master@{#756128}
Showing
This diff is collapsed.
Please register or sign in to comment