winIDEA SDK
Loading...
Searching...
No Matches
isys::CTestReportStatistic Class Reference

This class calculates and stores statistics for test results. More...

#include <CTestReportStatistic.h>

Public Member Functions

void analyzeResult (const isys::CTestResultSPtr &testResult)
 Call this method with all instances of CTestResult produced during test run.
 CTestReportStatistic ()
int32_t getErrors ()
 Returns the number of test cases that did not execute because of an error in test.
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.

Detailed Description

This class calculates and stores statistics for test results.

Constructor & Destructor Documentation

◆ CTestReportStatistic()

isys::CTestReportStatistic::CTestReportStatistic ( )
Since
9.12.288

Member Function Documentation

◆ analyzeResult()

void isys::CTestReportStatistic::analyzeResult ( const isys::CTestResultSPtr & testResult)

Call this method with all instances of CTestResult produced during test run.

Since
9.12.288

◆ 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, ...

Since
9.12.288

◆ getFailures()

int32_t isys::CTestReportStatistic::getFailures ( )

Returns the number of tests, that executed, but their results do not match expected ones.

Since
9.12.288

◆ serialize()

void isys::CTestReportStatistic::serialize ( const isys::IEmitterSPtr & emitter)

Writes collected data to the given emitter.

Since
9.12.288