()
| 2632 | |
| 2633 | #[tokio::test] |
| 2634 | async fn parser_rejects_missing_template_file() { |
| 2635 | let temp_dir = tempdir().expect("failed to create benchmark test directory"); |
| 2636 | let missing_path = temp_dir.path().join("missing_template.benchmark"); |
| 2637 | let benchmark_path = write_test_file( |
| 2638 | &temp_dir, |
| 2639 | "missing_template_driver.benchmark", |
| 2640 | &format!("template {}\n", missing_path.display()), |
| 2641 | ); |
| 2642 | |
| 2643 | let result = parse_benchmark_file(&benchmark_path).await; |
| 2644 | |
| 2645 | assert_result_error_contains(result, "No such file"); |
| 2646 | } |
| 2647 | |
| 2648 | #[tokio::test] |
| 2649 | async fn parser_uses_metadata_values_as_replacements() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…