Skip to main content

static_api_test

Function static_api_test 

Source
pub fn static_api_test<'a, P, R>(
    input: &mut Unstructured<'a>,
    declarations: &Declarations,
) -> Result<()>
where P: ComponentNamedList + Lift + Lower + Clone + PartialEq + Debug + Arbitrary<'a> + Send + Sync + 'static, R: ComponentNamedList + Lift + Lower + Clone + PartialEq + Debug + Arbitrary<'a> + Send + Sync + 'static,
Expand description

Generate zero or more sets of arbitrary argument and result values and execute the test using those values, asserting that they flow from host-to-guest and guest-to-host unchanged.