pub struct ConformanceReport {
pub suite_name: String,
pub host_name: String,
pub total: usize,
pub passed: usize,
pub failed: usize,
pub failures: Vec<TestFailure>,
}Expand description
Result of running a conformance suite.
Fields§
§suite_name: StringName of the suite that was run.
host_name: StringHost name (from ConformanceAdapter::host_name).
total: usizeTotal tests in the suite.
passed: usizeNumber of tests that passed.
failed: usizeNumber of tests that failed.
failures: Vec<TestFailure>Per-failure details (empty if all passed).
Implementations§
Source§impl ConformanceReport
impl ConformanceReport
Sourcepub fn all_passed(&self) -> bool
pub fn all_passed(&self) -> bool
Did every test in the suite pass?
Trait Implementations§
Source§impl Clone for ConformanceReport
impl Clone for ConformanceReport
Source§fn clone(&self) -> ConformanceReport
fn clone(&self) -> ConformanceReport
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 ConformanceReport
impl Debug for ConformanceReport
Source§impl<'de> Deserialize<'de> for ConformanceReport
impl<'de> Deserialize<'de> for ConformanceReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ConformanceReport
impl Display for ConformanceReport
Auto Trait Implementations§
impl Freeze for ConformanceReport
impl RefUnwindSafe for ConformanceReport
impl Send for ConformanceReport
impl Sync for ConformanceReport
impl Unpin for ConformanceReport
impl UnsafeUnpin for ConformanceReport
impl UnwindSafe for ConformanceReport
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