Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
types.h File Reference

Types for tests. More...

#include "alloc.h"
#include <stdbool.h>
#include <stddef.h>
#include "internal/common.h"

Go to the source code of this file.

Data Structures

struct  criterion_test_extra_data
 
struct  criterion_test
 
struct  criterion_suite
 
struct  criterion_suite_set
 
struct  criterion_test_set
 

Enumerations

enum  criterion_language {
  CR_LANG_C , CR_LANG_CXX , CR_LANG_OBJC , CR_LANG_OBJCXX ,
  CR_LANG_SIZE_
}
 
enum  criterion_test_kind { CR_TEST_NORMAL , CR_TEST_PARAMETERIZED }
 
enum  criterion_compiler { CR_COMP_UNKNOWN , CR_COMP_GCC , CR_COMP_CLANG , CR_COMP_MSVC }
 

Detailed Description

Types for tests.

Definition in file types.h.

Enumeration Type Documentation

◆ criterion_compiler

Enumerator
CR_COMP_UNKNOWN 
CR_COMP_GCC 
CR_COMP_CLANG 
CR_COMP_MSVC 

Definition at line 62 of file types.h.

62 {
67};
@ CR_COMP_UNKNOWN
Definition types.h:63
@ CR_COMP_CLANG
Definition types.h:65
@ CR_COMP_MSVC
Definition types.h:66
@ CR_COMP_GCC
Definition types.h:64

◆ criterion_language

Enumerates the supported languages for tests

Enumerator
CR_LANG_C 
CR_LANG_CXX 
CR_LANG_OBJC 
CR_LANG_OBJCXX 
CR_LANG_SIZE_ 

Definition at line 45 of file types.h.

45 {
46 CR_LANG_C, /* !< C */
47 CR_LANG_CXX, /* !< C++ */
48 CR_LANG_OBJC, /* !< Objective-C */
49 CR_LANG_OBJCXX, /* !< Objective-C++ */
50
51 CR_LANG_SIZE_ /* leave this at the end */
52};
@ CR_LANG_C
Definition types.h:46
@ CR_LANG_CXX
Definition types.h:47
@ CR_LANG_OBJC
Definition types.h:48
@ CR_LANG_OBJCXX
Definition types.h:49
@ CR_LANG_SIZE_
Definition types.h:51

◆ criterion_test_kind

Enumerates the supported kinds of tests

Enumerator
CR_TEST_NORMAL 
CR_TEST_PARAMETERIZED 

Definition at line 57 of file types.h.

57 {
60};
@ CR_TEST_NORMAL
Definition types.h:58
@ CR_TEST_PARAMETERIZED
Definition types.h:59