Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
stats.h
Go to the documentation of this file.
1/*
2 * The MIT License (MIT)
3 *
4 * Copyright © 2015-2016 Franklin "Snaipe" Mathieu <http://snai.pe/>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 * copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 * THE SOFTWARE.
23 */
24/*!
25 * @file
26 * @brief Test stats
27 *****************************************************************************/
28#ifndef CRITERION_STATS_H_
29#define CRITERION_STATS_H_
30
31#include "types.h"
33
39
41 const char *message;
42 bool passed;
43 unsigned line;
44 const char *file;
45
47};
48
67
72
87
102
103#endif /* !CRITERION_STATS_H_ */
criterion_test_status
Definition stats.h:34
@ CR_STATUS_SKIPPED
Definition stats.h:37
@ CR_STATUS_FAILED
Definition stats.h:36
@ CR_STATUS_PASSED
Definition stats.h:35
struct criterion_assert_stats * next
Definition stats.h:46
const char * file
Definition stats.h:44
const char * message
Definition stats.h:41
size_t asserts_passed
Definition stats.h:98
size_t asserts_failed
Definition stats.h:97
struct criterion_suite_stats * suites
Definition stats.h:89
size_t tests_skipped
Definition stats.h:78
size_t tests_crashed
Definition stats.h:80
struct criterion_suite * suite
Definition stats.h:74
struct criterion_test_stats * tests
Definition stats.h:75
struct criterion_suite_stats * next
Definition stats.h:85
size_t tests_passed
Definition stats.h:81
size_t asserts_passed
Definition stats.h:83
size_t tests_failed
Definition stats.h:79
size_t asserts_failed
Definition stats.h:82
unsigned progress
Definition stats.h:61
bool CR_DEPRECATED_MEMBER(failed)
struct criterion_test_stats * next
Definition stats.h:65
struct criterion_assert_stats * asserts
Definition stats.h:51
const char * file
Definition stats.h:62
enum criterion_test_status test_status
Definition stats.h:53
const char * message
Definition stats.h:63
struct criterion_test * test
Definition stats.h:50
const char * formatted_args
Definition stats.h:69
struct criterion_test_stats * stats
Definition stats.h:70
Types for tests.