Home
last modified time | relevance | path

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

/development/tools/external_crates/crate_health/src/
Dversion_match.rs352 struct FakeMigratable { struct
359 impl FakeMigratable { impl
360 pub fn source(name: &str, eligible: bool) -> FakeMigratable { in source() argument
361 FakeMigratable { name: name.to_string(), source: true, eligible, migratable: false } in source()
363 pub fn dest(migratable: bool) -> FakeMigratable { in dest() argument
364 FakeMigratable { name: "".to_string(), source: false, eligible: false, migratable } in dest()
368 impl Migratable for FakeMigratable { implementation
387 ("ineligible", "1.2.3", FakeMigratable::source("ineligible", false)), in test_migratability()
391 FakeMigratable::source("eligible incompatible", true), in test_migratability()
393 ("eligible compatible", "1.2.3", FakeMigratable::source("eligible compatible", true)), in test_migratability()
[all …]