pub struct TestCaseSummary {
pub class_name: String,
pub method_name: String,
pub status: Option<TestCaseStatus>,
pub duration_seconds: Option<f64>,
pub failure: Option<TestFailure>,
}Expand description
Summary for one XCTest case.
Fields§
§class_name: StringXCTest class name.
method_name: StringXCTest method name.
status: Option<TestCaseStatus>Final case status, if observed.
duration_seconds: Option<f64>Case duration in seconds, if reported.
failure: Option<TestFailure>First failure associated with the case, if any.
Trait Implementations§
Source§impl Clone for TestCaseSummary
impl Clone for TestCaseSummary
Source§fn clone(&self) -> TestCaseSummary
fn clone(&self) -> TestCaseSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TestCaseSummary
impl Debug for TestCaseSummary
Source§impl PartialEq for TestCaseSummary
impl PartialEq for TestCaseSummary
Source§fn eq(&self, other: &TestCaseSummary) -> bool
fn eq(&self, other: &TestCaseSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TestCaseSummary
impl Serialize for TestCaseSummary
impl StructuralPartialEq for TestCaseSummary
Auto Trait Implementations§
impl Freeze for TestCaseSummary
impl RefUnwindSafe for TestCaseSummary
impl Send for TestCaseSummary
impl Sync for TestCaseSummary
impl Unpin for TestCaseSummary
impl UnsafeUnpin for TestCaseSummary
impl UnwindSafe for TestCaseSummary
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