mapitest_stat Struct Reference

mapitest statistics More...

#include <mapitest.h>

Data Fields

bool enabled
uint32_t failure
struct mapitest_unitfailure_info
struct mapitest_unitskip_info
uint32_t skipped
uint32_t success
uint32_t x_fail

Detailed Description

mapitest statistics

During a mapitest run, mapitest collects statistics on each test suite.

This data structure records the results for one run of a test suite.

There should be one entry in the failure_info list for each failure.


Field Documentation

Number of tests in this suite that failed

Referenced by mapitest_stat_add_result(), mapitest_stat_dump(), and mapitest_stat_init().

List of names of the tests that failed

Referenced by mapitest_stat_add_result(), mapitest_stat_dump(), and mapitest_stat_init().

List of names of the tests that were skipped, and why

Referenced by mapitest_stat_add_skipped_test(), mapitest_stat_dump(), and mapitest_stat_init().

Number of tests in this suite that were skipped

Referenced by mapitest_stat_add_skipped_test(), mapitest_stat_dump(), and mapitest_stat_init().

Number of tests in this suite that passed

Referenced by mapitest_stat_add_result(), mapitest_stat_dump(), and mapitest_stat_init().

Number of tests in this suite that were expected failures

Referenced by mapitest_stat_add_result(), mapitest_stat_dump(), and mapitest_stat_init().


The documentation for this struct was generated from the following file:

Creative Commons License
Creative Commons Attribution icon Creative Commons Share Alike icon
This content is licensed under the Creative Commons
Attribution ShareAlike License v. 3.0:
http://creativecommons.org/licenses/by-sa/3.0/