MCPcopy Create free account
hub / github.com/apache/datafusion / parser_rejects_missing_include_file

Function parser_rejects_missing_include_file

benchmarks/src/sql_benchmark.rs:2619–2631  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2617
2618 #[tokio::test]
2619 async fn parser_rejects_missing_include_file() {
2620 let temp_dir = tempdir().expect("failed to create benchmark test directory");
2621 let missing_path = temp_dir.path().join("missing_include.benchmark");
2622 let benchmark_path = write_test_file(
2623 &temp_dir,
2624 "missing_include_driver.benchmark",
2625 &format!("include {}\n", missing_path.display()),
2626 );
2627
2628 let result = parse_benchmark_file(&benchmark_path).await;
2629
2630 assert_result_error_contains(result, "No such file");
2631 }
2632
2633 #[tokio::test]
2634 async fn parser_rejects_missing_template_file() {

Callers

nothing calls this directly

Calls 5

write_test_fileFunction · 0.85
parse_benchmark_fileFunction · 0.85
joinMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…