Creates a complete nonpassing result when the manifest cannot be trusted.
(message: String)
| 295 | |
| 296 | /// Creates a complete nonpassing result when the manifest cannot be trusted. |
| 297 | pub fn fallback(message: String) -> RunResult { |
| 298 | RunResult { |
| 299 | schema_version: 1, |
| 300 | run_id: "aggregate-error".into(), |
| 301 | tested_sha: "unknown".into(), |
| 302 | started_at_unix_ms: 0, |
| 303 | scenarios: vec![Self::error_scenario("aggregate-error", message)], |
| 304 | } |
| 305 | } |
| 306 | |
| 307 | /// Creates a manifest-bound aggregate error result. |
| 308 | pub fn run_error(expected: &ExpectedManifest, message: String) -> RunResult { |
no outgoing calls