pub struct DefaultEngine { /* private fields */ }Expand description
The default engine used when defining a test target
Engine implementation which mimics Rust’s default test
harness. By default, the test inputs will include any present
corpus and crashes files, as well as generating
Implementations§
Source§impl TestEngine
impl TestEngine
pub fn new(location: TargetLocation) -> Self
pub fn with_test_time(&mut self, test_time: Duration) -> &mut Self
pub fn with_iterations(&mut self, iterations: usize) -> &mut Self
pub fn with_max_len(&mut self, max_len: usize) -> &mut Self
Trait Implementations§
Source§impl Debug for TestEngine
impl Debug for TestEngine
Source§impl<T> Engine<T> for TestEngine
impl<T> Engine<T> for TestEngine
Source§impl ScopedEngine for TestEngine
Available on crate feature std only.
impl ScopedEngine for TestEngine
Available on crate feature
std only.Auto Trait Implementations§
impl Freeze for TestEngine
impl RefUnwindSafe for TestEngine
impl Send for TestEngine
impl Sync for TestEngine
impl Unpin for TestEngine
impl UnwindSafe for TestEngine
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more