Home
last modified time | relevance | path

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

/external/rust/crates/url/tests/
Ddata.rs70 passed &= check_invariants(&url, &format!("invariants for {:?}", input), None); in urltestdata()
116 passed &= check_invariants(&url, &name, comment_ref); in setters_tests()
125 passed &= check_invariants(&url, &name, comment_ref); in setters_tests()
132 fn check_invariants(url: &Url, name: &str, comment: Option<&str>) -> bool { in check_invariants() function
134 if let Err(e) = url.check_invariants() { in check_invariants()
Dunit.rs383 url.check_invariants().unwrap(); in issue_61()
391 url.check_invariants().unwrap(); in issue_197()
410 url.check_invariants().unwrap(); in append_trailing_slash()
412 url.check_invariants().unwrap(); in append_trailing_slash()
422 url.check_invariants().unwrap(); in extend_query_pairs_then_mutate()
428 url.check_invariants().unwrap(); in extend_query_pairs_then_mutate()
439 url.check_invariants().unwrap(); in append_empty_segment_then_mutate()
441 url.check_invariants().unwrap(); in append_empty_segment_then_mutate()
/external/rust/crates/url/src/
Dlib.rs572 pub fn check_invariants(&self) -> Result<(), String> { in check_invariants() method
2428 url.check_invariants().map_err(|reason| { in deserialize_internal()