pub struct ParsedTestCase {
pub signals: Vec<String>,
/* private fields */
}Expand description
Represents a test case as obtained directly from the test source code
To get a full runnable TestCase, the input and output signals have to be specified using
the with_signals method.
Fields§
§signals: Vec<String>List of signal names appearing in the test
Implementations§
Source§impl ParsedTestCase
impl ParsedTestCase
Sourcepub fn with_signals(self, signals: Vec<Signal>) -> Result<TestCase, SignalError>
pub fn with_signals(self, signals: Vec<Signal>) -> Result<TestCase, SignalError>
Construct a complete test case by supplying a description of the input and expected signals of the device under test
Trait Implementations§
Source§impl Clone for ParsedTestCase
impl Clone for ParsedTestCase
Source§fn clone(&self) -> ParsedTestCase
fn clone(&self) -> ParsedTestCase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedTestCase
impl Debug for ParsedTestCase
Source§impl FromStr for ParsedTestCase
impl FromStr for ParsedTestCase
Source§impl PartialEq for ParsedTestCase
impl PartialEq for ParsedTestCase
impl Eq for ParsedTestCase
impl StructuralPartialEq for ParsedTestCase
Auto Trait Implementations§
impl Freeze for ParsedTestCase
impl RefUnwindSafe for ParsedTestCase
impl Send for ParsedTestCase
impl Sync for ParsedTestCase
impl Unpin for ParsedTestCase
impl UnwindSafe for ParsedTestCase
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