Home
last modified time | relevance | path

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

/external/rust/crates/url/tests/
Ddata.rs31 let failure = entry.take_key("failure").is_some(); in urltestdata()
81 if let Some(expected_origin) = entry.take_key("origin").map(|s| s.string()) { in urltestdata()
106 let mut tests = json.take_key(attr).unwrap(); in setters_tests()
108 let comment = test.take_key("comment").map(|s| s.string()); in setters_tests()
112 let mut expected = test.take_key("expected").unwrap(); in setters_tests()
120 if let Some(value) = expected.take_key(attr) { in setters_tests()
154 fn take_key(&mut self, key: &str) -> Option<Value>; in take_key() method
160 fn take_key(&mut self, key: &str) -> Option<Value> { in take_key() method
173 self.take_key(key).unwrap().string() in take_string()