pub struct TestCase {
pub signals: Vec<Signal>,
/* private fields */
}Expand description
Represents a fully specified test case
Fields§
§signals: Vec<Signal>List of input and output signals for the device under test
Not all signals are necessarily involved in the test
Implementations§
Source§impl TestCase
impl TestCase
Sourcepub fn run_iter<'a, 'b, T: TestDriver>(
&'a self,
driver: &'b mut T,
) -> Result<DataRowIterator<'a, 'b, T>, IterationError<T::Error>>
pub fn run_iter<'a, 'b, T: TestDriver>( &'a self, driver: &'b mut T, ) -> Result<DataRowIterator<'a, 'b, T>, IterationError<T::Error>>
Run the test dynamically using driver for communicating with the device under test
This function returns an iterator over the resulting data rows.
Before starting the test all inputs are set to their default values.
Trait Implementations§
impl Eq for TestCase
impl StructuralPartialEq for TestCase
Auto Trait Implementations§
impl Freeze for TestCase
impl RefUnwindSafe for TestCase
impl Send for TestCase
impl Sync for TestCase
impl Unpin for TestCase
impl UnwindSafe for TestCase
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