(cmd: &mut Command)
| 52 | |
| 53 | #[allow(dead_code)] |
| 54 | pub fn assert_driver(cmd: &mut Command) { |
| 55 | let stdout = get_stdout(cmd); |
| 56 | |
| 57 | let json: JsonOutput = serde_json::from_str(&stdout).unwrap(); |
| 58 | let driver_path = Path::new(&json.result.driver_path); |
| 59 | assert!(driver_path.exists()); |
| 60 | assert!(is_executable(driver_path)); |
| 61 | } |
| 62 | |
| 63 | #[allow(dead_code)] |
| 64 | pub fn assert_browser(cmd: &mut Command) { |
no test coverage detected