commit | cb31a472c3dac146994fcec4a94d2f554b314fef | [log] [tgz] |
---|---|---|
author | Colin Blundell <[email protected]> | Fri Jan 31 12:40:44 2020 |
committer | Commit Bot <[email protected]> | Fri Jan 31 12:40:44 2020 |
tree | 1de8f5c2b7d7bd9862671bd120d291e27a161755 | |
parent | 82e3c2330171d877921695b09e19592ddbd252d9 [diff] |
[SSL] Componentize SSLErrorHandler unittest Follows the componentization of the production class. One note is that there are multiple independent test classes in the unittest file that all construct TestSSLErrorHandler instances. As the manual construction of a CaptivePortalService instance is somewhat cumbersome, we did it only in the tests that actually need it; in the other tests we simply pass nullptr. This is analogous to the how the tests are handling the NetworkTimeTracker parameter of TestSSLErrorHandler. Finally, the test is augmented to account for the fact that on Chromecast, where the test now runs as part of components_unittests, captive portal detection is not enabled. Bug: 1030692 Change-Id: If9292ebbf26437ef85f42f248468325f6d1795f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2030524 Commit-Queue: Colin Blundell <[email protected]> Reviewed-by: Carlos IL <[email protected]> Cr-Commit-Position: refs/heads/master@{#737293}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .