()
| 2023 | |
| 2024 | #[test] |
| 2025 | fn http_client_is_not_created_until_needed() { |
| 2026 | let mut manager = crate::chrome::ChromeManager::new().unwrap(); |
| 2027 | assert!(manager.get_http_client_cell().get().is_none()); |
| 2028 | |
| 2029 | manager.get_config_mut().insecure = true; |
| 2030 | manager.get_http_client().unwrap(); |
| 2031 | |
| 2032 | assert!(manager.get_http_client_cell().get().is_some()); |
| 2033 | } |
| 2034 | |
| 2035 | #[test] |
| 2036 | fn format_error_adds_hint_for_untrusted_certificate() { |
nothing calls this directly
no test coverage detected