Struct parables_testing::reporter::CollectingReporter  [−][src]
pub struct CollectingReporter<'a> { /* fields omitted */ }A reporter that doesn't report anything.
Methods
impl<'a> CollectingReporter<'a>[src] 
impl<'a> CollectingReporter<'a>pub fn new() -> Self[src] 
pub fn new() -> Selfpub fn take_results(self) -> Result<Vec<TestResult<'a>>, Error>[src] 
pub fn take_results(self) -> Result<Vec<TestResult<'a>>, Error>Take all collected results.
Trait Implementations
impl<'a> Reporter<'a> for CollectingReporter<'a>[src] 
impl<'a> Reporter<'a> for CollectingReporter<'a>fn report(&self, _index: usize, result: TestResult<'a>) -> Result<(), Error>[src] 
fn report(&self, _index: usize, result: TestResult<'a>) -> Result<(), Error>Report a single result.
fn report_skipped(&self, _test: Test<'a>) -> Result<(), Error>[src] 
fn report_skipped(&self, _test: Test<'a>) -> Result<(), Error>Report that a number of tests have been skipped.
fn close(&self) -> Result<(), Error>[src] 
fn close(&self) -> Result<(), Error>Close the reporter.
fn supports_animation(&self) -> Result<bool, Error>[src] 
fn supports_animation(&self) -> Result<bool, Error>Check if reporter supports animation.
fn animate(&self) -> Result<(), Error>[src] 
fn animate(&self) -> Result<(), Error>Animate the reporter.
fn end(&self) -> Result<(), Error>[src] 
fn end(&self) -> Result<(), Error>End any in-progress animations.
fn report_started(&self, _index: usize, _name: &str) -> Result<(), Error>[src] 
fn report_started(&self, _index: usize, _name: &str) -> Result<(), Error>Report that we've started running a test.
Auto Trait Implementations
impl<'a> Send for CollectingReporter<'a>
impl<'a> Send for CollectingReporter<'a>impl<'a> Sync for CollectingReporter<'a>
impl<'a> Sync for CollectingReporter<'a>