pub struct SuiteReport { /* private fields */ }
Expand description
SuiteReport
holds the results of a context suite’s test execution.
Implementations§
Source§impl SuiteReport
impl SuiteReport
Sourcepub fn new(header: SuiteHeader, context: ContextReport) -> Self
pub fn new(header: SuiteHeader, context: ContextReport) -> Self
Constructs a new SuiteReport
.
Source§impl SuiteReport
impl SuiteReport
pub fn get_header(&self) -> &SuiteHeader
pub fn get_context(&self) -> &ContextReport
Trait Implementations§
Source§impl Clone for SuiteReport
impl Clone for SuiteReport
Source§fn clone(&self) -> SuiteReport
fn clone(&self) -> SuiteReport
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 SuiteReport
impl Debug for SuiteReport
Source§impl PartialEq for SuiteReport
impl PartialEq for SuiteReport
Source§impl Report for SuiteReport
impl Report for SuiteReport
fn is_success(&self) -> bool
fn is_failure(&self) -> bool
fn get_passed(&self) -> u32
fn get_failed(&self) -> u32
fn get_ignored(&self) -> u32
fn get_duration(&self) -> Duration
impl Eq for SuiteReport
impl StructuralPartialEq for SuiteReport
Auto Trait Implementations§
impl Freeze for SuiteReport
impl RefUnwindSafe for SuiteReport
impl Send for SuiteReport
impl Sync for SuiteReport
impl Unpin for SuiteReport
impl UnwindSafe for SuiteReport
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