[−][src]Trait bolero::Test
Associated Types
type Value
Required methods
fn test<T>(&mut self, input: &mut T) -> Result<bool, Error> where
T: TestInput<Result<bool, Error>>,
T: TestInput<Result<bool, Error>>,
fn generate_value<T>(&self, input: &mut T) -> Self::Value where
T: TestInput<Self::Value>,
T: TestInput<Self::Value>,
Provided methods
fn shrink(
&mut self,
input: Vec<u8>,
seed: Option<u64>,
driver_mode: Option<DriverMode>
) -> Option<TestFailure<Self::Value>>
&mut self,
input: Vec<u8>,
seed: Option<u64>,
driver_mode: Option<DriverMode>
) -> Option<TestFailure<Self::Value>>
Implementations on Foreign Types
impl<F, G, Ret> Test for GeneratorTest<F, G> where
F: RefUnwindSafe + FnMut(<G as ValueGenerator>::Output) -> Ret,
G: RefUnwindSafe + ValueGenerator,
Ret: IntoTestResult,
<G as ValueGenerator>::Output: RefUnwindSafe,
[src]
F: RefUnwindSafe + FnMut(<G as ValueGenerator>::Output) -> Ret,
G: RefUnwindSafe + ValueGenerator,
Ret: IntoTestResult,
<G as ValueGenerator>::Output: RefUnwindSafe,
type Value = <G as ValueGenerator>::Output
fn test<T>(&mut self, input: &mut T) -> Result<bool, Error> where
T: TestInput<Result<bool, Error>>,
[src]
T: TestInput<Result<bool, Error>>,
fn generate_value<T>(
&self,
input: &mut T
) -> <GeneratorTest<F, G> as Test>::Value where
T: TestInput<<GeneratorTest<F, G> as Test>::Value>,
[src]
&self,
input: &mut T
) -> <GeneratorTest<F, G> as Test>::Value where
T: TestInput<<GeneratorTest<F, G> as Test>::Value>,
Implementors
impl<F, Ret> Test for F where
F: RefUnwindSafe + FnMut(&[u8]) -> Ret,
Ret: IntoTestResult,
[src]
F: RefUnwindSafe + FnMut(&[u8]) -> Ret,
Ret: IntoTestResult,