Struct test_runners_lib::cases::TestCaseInfo
source · pub struct TestCaseInfo {
pub name: String,
pub enabled: bool,
}
Expand description
Internal representation of a test case, after it has been parsed from the data provided by a test binary.
Fields§
§name: String
Name of the test case.
enabled: bool
Whether the test is enabled or disabled by the developer.
Trait Implementations§
source§impl Clone for TestCaseInfo
impl Clone for TestCaseInfo
source§fn clone(&self) -> TestCaseInfo
fn clone(&self) -> TestCaseInfo
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 TestCaseInfo
impl Debug for TestCaseInfo
source§impl Hash for TestCaseInfo
impl Hash for TestCaseInfo
source§impl Ord for TestCaseInfo
impl Ord for TestCaseInfo
source§fn cmp(&self, other: &TestCaseInfo) -> Ordering
fn cmp(&self, other: &TestCaseInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<TestCaseInfo> for TestCaseInfo
impl PartialEq<TestCaseInfo> for TestCaseInfo
source§fn eq(&self, other: &TestCaseInfo) -> bool
fn eq(&self, other: &TestCaseInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TestCaseInfo> for TestCaseInfo
impl PartialOrd<TestCaseInfo> for TestCaseInfo
source§fn partial_cmp(&self, other: &TestCaseInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &TestCaseInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for TestCaseInfo
impl StructuralEq for TestCaseInfo
impl StructuralPartialEq for TestCaseInfo
Auto Trait Implementations§
impl RefUnwindSafe for TestCaseInfo
impl Send for TestCaseInfo
impl Sync for TestCaseInfo
impl Unpin for TestCaseInfo
impl UnwindSafe for TestCaseInfo
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