Struct junit_report::TestCase

source ·
pub struct TestCase { /* private fields */ }
Expand description

One single test case

Implementations§

Creates a new successful TestCase

Check if a TestCase is successful

Creates a new erroneous TestCase

An erroneous TestCase is one that encountered an unexpected error condition.

Check if a TestCase is erroneous

Creates a new failed TestCase

A failed TestCase is one where an explicit assertion failed

Check if a TestCase failed

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.