pub struct SimpleRunner {
pub func: fn(_: &OrderedHashMap<String, String>) -> OrderedHashMap<String, String>,
}
Expand description
Simple runner wrapping a test function.
Fields§
§func: fn(_: &OrderedHashMap<String, String>) -> OrderedHashMap<String, String>
Trait Implementations§
source§impl TestFileRunner for SimpleRunner
impl TestFileRunner for SimpleRunner
source§fn run(
&mut self,
inputs: &OrderedHashMap<String, String>
) -> OrderedHashMap<String, String>
fn run( &mut self, inputs: &OrderedHashMap<String, String> ) -> OrderedHashMap<String, String>
Reads tags from the input map, and returns the output map, that should match the expected
outputs.
Auto Trait Implementations§
impl RefUnwindSafe for SimpleRunner
impl Send for SimpleRunner
impl Sync for SimpleRunner
impl Unpin for SimpleRunner
impl UnwindSafe for SimpleRunner
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more