pub struct TestRunRecorder { /* private fields */ }Expand description
Stateful accumulator for XCTest events.
Implementations§
Source§impl TestRunRecorder
impl TestRunRecorder
Sourcepub fn apply(&mut self, event: TestExecutionEvent)
pub fn apply(&mut self, event: TestExecutionEvent)
Apply one event to the current run summary.
Sourcepub fn summary(&self) -> TestRunSummary
pub fn summary(&self) -> TestRunSummary
Build a serializable summary from the events applied so far.
Trait Implementations§
Source§impl Clone for TestRunRecorder
impl Clone for TestRunRecorder
Source§fn clone(&self) -> TestRunRecorder
fn clone(&self) -> TestRunRecorder
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 TestRunRecorder
impl Debug for TestRunRecorder
Source§impl Default for TestRunRecorder
impl Default for TestRunRecorder
Source§fn default() -> TestRunRecorder
fn default() -> TestRunRecorder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TestRunRecorder
impl RefUnwindSafe for TestRunRecorder
impl Send for TestRunRecorder
impl Sync for TestRunRecorder
impl Unpin for TestRunRecorder
impl UnsafeUnpin for TestRunRecorder
impl UnwindSafe for TestRunRecorder
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