Struct deqp_runner::RunnerResults
source · pub struct RunnerResults {
pub tests: HashSet<RunnerResultNameHash>,
pub result_counts: ResultCounts,
pub time: Instant,
}
Fields§
§tests: HashSet<RunnerResultNameHash>
§result_counts: ResultCounts
§time: Instant
Implementations§
source§impl RunnerResults
impl RunnerResults
pub fn new() -> RunnerResults
pub fn get(&self, test: &str) -> Option<&RunnerResult>
pub fn record_result(&mut self, result: RunnerResult)
pub fn is_success(&self) -> bool
sourcepub fn sorted_results(&self) -> Vec<&RunnerResult>
pub fn sorted_results(&self) -> Vec<&RunnerResult>
Returns a list of references to the results, sorted by test name.
pub fn write_results<W: Write>(&self, writer: &mut W) -> Result<()>
pub fn write_failures(&self, writer: &mut impl Write) -> Result<()>
pub fn write_junit_failures( &self, writer: &mut impl Write, options: &JunitGeneratorOptions ) -> Result<()>
pub fn from_csv(r: &mut impl Read) -> Result<RunnerResults>
pub fn status_update<W: Write>(&self, writer: &mut W, total_tests: u32)
pub fn print_summary(&self, summary_limit: usize)
Trait Implementations§
source§impl Default for RunnerResults
impl Default for RunnerResults
source§fn default() -> RunnerResults
fn default() -> RunnerResults
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RunnerResults
impl Send for RunnerResults
impl Sync for RunnerResults
impl Unpin for RunnerResults
impl UnwindSafe for RunnerResults
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