()
| 260 | |
| 261 | #[test] |
| 262 | fn test_invalid_json_format() { |
| 263 | let profile = TestProfileFolder::new(); |
| 264 | profile.write_json_file("results.json", "{ invalid json }"); |
| 265 | |
| 266 | let result = validate_walltime_results(profile.path(), false); |
| 267 | assert!(result.is_err()); |
| 268 | let error = result.unwrap_err().to_string(); |
| 269 | assert!(error.contains("Failed to parse walltime results from")); |
| 270 | } |
| 271 | |
| 272 | #[test] |
| 273 | fn test_multiple_files_one_empty() { |
nothing calls this directly
no test coverage detected