Enum deqp_runner::TestCase
source · pub enum TestCase {
Named(String),
Binary(Box<BinaryTest>),
}
Expand description
Some TestCommand implementations need more than a string test name to invoke their test binary. All of those variants are in this enum so that the core parallel_test can talk about lists of TestCases, while the specific TestCommand implementation can match the subtype out to get at the test’s details.
Variants§
Named(String)
Binary(Box<BinaryTest>)
Implementations§
Trait Implementations§
source§impl From<BinaryTest> for TestCase
impl From<BinaryTest> for TestCase
source§fn from(value: BinaryTest) -> Self
fn from(value: BinaryTest) -> Self
Converts to this type from the input type.
source§impl PartialEq for TestCase
impl PartialEq for TestCase
impl Eq for TestCase
impl StructuralEq for TestCase
impl StructuralPartialEq for TestCase
Auto Trait Implementations§
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