winIDEA SDK
isys::CTestReportStatistic Class Reference

Description

This class calculates and stores statistics for test results.

#include <CTestReportStatistic.h>

Public Member Functions

void analyzeResult (const isys::CTestResultSPtr &testResult)
 Call this method with all instances of CTestResult produced during test run.
 
int32_t getErrors ()
 Returns the number of test cases that did not execute because of an error in test. More...
 
int32_t getFailures ()
 Returns the number of tests, that executed, but their results do not match expected ones.
 
void serialize (const isys::IEmitterSPtr &emitter)
 Writes collected data to the given emitter.
 

Member Function Documentation

◆ getErrors()

int32_t isys::CTestReportStatistic::getErrors ( )

Returns the number of test cases that did not execute because of an error in test.

For example: function name is misspelled, wrong parameter type, timeout occurred, ...