pub struct TestSuiteFixture {
pub binary_id: RustBinaryId,
pub binary_name: &'static str,
pub build_platform: BuildPlatform,
pub test_cases: IdOrdMap<TestCaseFixture>,
/* private fields */
}
Fields§
§binary_id: RustBinaryId
§binary_name: &'static str
§build_platform: BuildPlatform
§test_cases: IdOrdMap<TestCaseFixture>
Implementations§
Source§impl TestSuiteFixture
impl TestSuiteFixture
pub fn new( binary_id: &'static str, binary_name: &'static str, build_platform: BuildPlatform, test_cases: IdOrdMap<TestCaseFixture>, ) -> Self
pub fn with_property(self, property: TestSuiteFixtureProperty) -> Self
pub fn has_property(&self, property: TestSuiteFixtureProperty) -> bool
pub fn assert_test_cases_match( &self, other: &IdOrdMap<TestNameAndFilterMatch<'_>>, )
Trait Implementations§
Source§impl Clone for TestSuiteFixture
impl Clone for TestSuiteFixture
Source§fn clone(&self) -> TestSuiteFixture
fn clone(&self) -> TestSuiteFixture
Returns a copy 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 TestSuiteFixture
impl Debug for TestSuiteFixture
Source§impl IdOrdItem for TestSuiteFixture
impl IdOrdItem for TestSuiteFixture
Source§type Key<'a> = &'a RustBinaryId
type Key<'a> = &'a RustBinaryId
The key type.
Source§fn upcast_key<'short, 'long: 'short>(
long: Self::Key<'long>,
) -> Self::Key<'short>where
Self: 'long,
fn upcast_key<'short, 'long: 'short>(
long: Self::Key<'long>,
) -> Self::Key<'short>where
Self: 'long,
Upcasts the key to a shorter lifetime, in effect asserting that the
lifetime
'a
on [IdOrdItem::Key
] is covariant. Read moreAuto Trait Implementations§
impl Freeze for TestSuiteFixture
impl RefUnwindSafe for TestSuiteFixture
impl Send for TestSuiteFixture
impl Sync for TestSuiteFixture
impl Unpin for TestSuiteFixture
impl UnwindSafe for TestSuiteFixture
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