Home
last modified time | relevance | path

Searched refs:temp_crate_dir (Results 1 – 1 of 1) sorted by relevance

/development/tools/external_crates/crate_health/src/
Dcrate_type.rs297 fn write_test_manifest(temp_crate_dir: &Path, name: &str, version: &str) -> Result<PathBuf> { in write_test_manifest()
298 let cargo_toml: PathBuf = [temp_crate_dir, &Path::new("Cargo.toml")].iter().collect(); in write_test_manifest()
303 let lib_rs: PathBuf = [temp_crate_dir, &Path::new("src/lib.rs")].iter().collect(); in write_test_manifest()
311 let temp_crate_dir = tempdir()?; in test_from_and_properties() localVariable
312 let cargo_toml = write_test_manifest(temp_crate_dir.path(), "foo", "1.2.0")?; in test_from_and_properties()
317 assert_eq!(krate.android_bp().abs(), temp_crate_dir.path().join("Android.bp")); in test_from_and_properties()
320 temp_crate_dir.path().join("cargo_embargo.json") in test_from_and_properties()
327 let temp_crate_dir = tempdir()?; in test_from_error() localVariable
328 let cargo_toml = write_test_manifest(temp_crate_dir.path(), "foo", "1.2.0")?; in test_from_error()