Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
catch_preprocessor.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CATCH_RECURSION_LEVEL0(...)
 
#define CATCH_RECURSION_LEVEL1(...)
 
#define CATCH_RECURSION_LEVEL2(...)
 
#define CATCH_RECURSION_LEVEL3(...)
 
#define CATCH_RECURSION_LEVEL4(...)
 
#define CATCH_RECURSION_LEVEL5(...)
 
#define CATCH_RECURSE(...)
 
#define CATCH_REC_END(...)
 
#define CATCH_REC_OUT
 
#define CATCH_EMPTY()
 
#define CATCH_DEFER(id)
 
#define CATCH_REC_GET_END2()
 
#define CATCH_REC_GET_END1(...)
 
#define CATCH_REC_GET_END(...)
 
#define CATCH_REC_NEXT0(test, next, ...)
 
#define CATCH_REC_NEXT1(test, next)
 
#define CATCH_REC_NEXT(test, next)
 
#define CATCH_REC_LIST0(f, x, peek, ...)
 
#define CATCH_REC_LIST1(f, x, peek, ...)
 
#define CATCH_REC_LIST2(f, x, peek, ...)
 
#define CATCH_REC_LIST0_UD(f, userdata, x, peek, ...)
 
#define CATCH_REC_LIST1_UD(f, userdata, x, peek, ...)
 
#define CATCH_REC_LIST2_UD(f, userdata, x, peek, ...)
 
#define CATCH_REC_LIST_UD(f, userdata, ...)
 
#define CATCH_REC_LIST(f, ...)
 
#define INTERNAL_CATCH_EXPAND1(param)
 
#define INTERNAL_CATCH_EXPAND2(...)
 
#define INTERNAL_CATCH_DEF(...)
 
#define INTERNAL_CATCH_NOINTERNAL_CATCH_DEF
 
#define INTERNAL_CATCH_STRINGIZE(...)
 
#define INTERNAL_CATCH_STRINGIZE2(...)
 
#define INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS(param)
 
#define INTERNAL_CATCH_REMOVE_PARENS(...)
 
#define INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME2(Name, ...)
 
#define INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME3(Name, ...)
 
#define INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME(Name, ...)
 
#define INTERNAL_CATCH_MAKE_TYPE_LIST(types)
 
#define INTERNAL_CATCH_MAKE_TYPE_LISTS_FROM_TYPES(types)
 

Macro Definition Documentation

◆ CATCH_DEFER

#define CATCH_DEFER ( id)
Value:
#define CATCH_EMPTY()

Definition at line 32 of file catch_preprocessor.hpp.

◆ CATCH_EMPTY

#define CATCH_EMPTY ( )

Definition at line 31 of file catch_preprocessor.hpp.

◆ CATCH_REC_END

#define CATCH_REC_END ( ...)

Definition at line 28 of file catch_preprocessor.hpp.

◆ CATCH_REC_GET_END

#define CATCH_REC_GET_END ( ...)
Value:
#define CATCH_REC_GET_END1(...)

Definition at line 36 of file catch_preprocessor.hpp.

◆ CATCH_REC_GET_END1

#define CATCH_REC_GET_END1 ( ...)
Value:
#define CATCH_REC_GET_END2()

Definition at line 35 of file catch_preprocessor.hpp.

◆ CATCH_REC_GET_END2

#define CATCH_REC_GET_END2 ( )
Value:
#define CATCH_REC_END(...)

Definition at line 34 of file catch_preprocessor.hpp.

◆ CATCH_REC_LIST

#define CATCH_REC_LIST ( f,
... )
Value:
CATCH_RECURSE(CATCH_REC_LIST2(f, __VA_ARGS__, ()()(), ()()(), ()()(), 0))
#define CATCH_REC_LIST2(f, x, peek,...)
#define CATCH_RECURSE(...)

Definition at line 54 of file catch_preprocessor.hpp.

◆ CATCH_REC_LIST0

#define CATCH_REC_LIST0 ( f,
x,
peek,
... )
Value:
, f(x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1) ) ( f, peek, __VA_ARGS__ )
#define CATCH_DEFER(id)
#define CATCH_REC_NEXT(test, next)
#define CATCH_REC_LIST1(f, x, peek,...)

Definition at line 41 of file catch_preprocessor.hpp.

◆ CATCH_REC_LIST0_UD

#define CATCH_REC_LIST0_UD ( f,
userdata,
x,
peek,
... )
Value:
, f(userdata, x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1_UD) ) ( f, userdata, peek, __VA_ARGS__ )
#define CATCH_REC_LIST1_UD(f, userdata, x, peek,...)

Definition at line 45 of file catch_preprocessor.hpp.

◆ CATCH_REC_LIST1

#define CATCH_REC_LIST1 ( f,
x,
peek,
... )
Value:
, f(x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST0) ) ( f, peek, __VA_ARGS__ )
#define CATCH_REC_LIST0(f, x, peek,...)

Definition at line 42 of file catch_preprocessor.hpp.

◆ CATCH_REC_LIST1_UD

#define CATCH_REC_LIST1_UD ( f,
userdata,
x,
peek,
... )
Value:
, f(userdata, x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST0_UD) ) ( f, userdata, peek, __VA_ARGS__ )
#define CATCH_REC_LIST0_UD(f, userdata, x, peek,...)

Definition at line 46 of file catch_preprocessor.hpp.

◆ CATCH_REC_LIST2

#define CATCH_REC_LIST2 ( f,
x,
peek,
... )
Value:
f(x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1) ) ( f, peek, __VA_ARGS__ )

Definition at line 43 of file catch_preprocessor.hpp.

◆ CATCH_REC_LIST2_UD

#define CATCH_REC_LIST2_UD ( f,
userdata,
x,
peek,
... )
Value:
f(userdata, x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1_UD) ) ( f, userdata, peek, __VA_ARGS__ )

Definition at line 47 of file catch_preprocessor.hpp.

◆ CATCH_REC_LIST_UD

#define CATCH_REC_LIST_UD ( f,
userdata,
... )
Value:
CATCH_RECURSE(CATCH_REC_LIST2_UD(f, userdata, __VA_ARGS__, ()()(), ()()(), ()()(), 0))
#define CATCH_REC_LIST2_UD(f, userdata, x, peek,...)

Definition at line 52 of file catch_preprocessor.hpp.

◆ CATCH_REC_NEXT

#define CATCH_REC_NEXT ( test,
next )
Value:
#define CATCH_REC_NEXT1(test, next)
#define CATCH_REC_GET_END(...)

Definition at line 39 of file catch_preprocessor.hpp.

◆ CATCH_REC_NEXT0

#define CATCH_REC_NEXT0 ( test,
next,
... )
Value:
#define CATCH_REC_OUT

Definition at line 37 of file catch_preprocessor.hpp.

◆ CATCH_REC_NEXT1

#define CATCH_REC_NEXT1 ( test,
next )
Value:
CATCH_DEFER ( CATCH_REC_NEXT0 ) ( test, next, 0)
#define CATCH_REC_NEXT0(test, next,...)

Definition at line 38 of file catch_preprocessor.hpp.

◆ CATCH_REC_OUT

#define CATCH_REC_OUT

Definition at line 29 of file catch_preprocessor.hpp.

◆ CATCH_RECURSE

#define CATCH_RECURSE ( ...)
Value:
#define CATCH_RECURSION_LEVEL5(...)

Definition at line 25 of file catch_preprocessor.hpp.

◆ CATCH_RECURSION_LEVEL0

#define CATCH_RECURSION_LEVEL0 ( ...)
Value:
__VA_ARGS__

Definition at line 12 of file catch_preprocessor.hpp.

◆ CATCH_RECURSION_LEVEL1

#define CATCH_RECURSION_LEVEL1 ( ...)
Value:

Definition at line 13 of file catch_preprocessor.hpp.

◆ CATCH_RECURSION_LEVEL2

#define CATCH_RECURSION_LEVEL2 ( ...)
Value:

Definition at line 14 of file catch_preprocessor.hpp.

◆ CATCH_RECURSION_LEVEL3

#define CATCH_RECURSION_LEVEL3 ( ...)
Value:

Definition at line 15 of file catch_preprocessor.hpp.

◆ CATCH_RECURSION_LEVEL4

#define CATCH_RECURSION_LEVEL4 ( ...)
Value:

Definition at line 16 of file catch_preprocessor.hpp.

◆ CATCH_RECURSION_LEVEL5

#define CATCH_RECURSION_LEVEL5 ( ...)
Value:

Definition at line 17 of file catch_preprocessor.hpp.

◆ INTERNAL_CATCH_DEF

#define INTERNAL_CATCH_DEF ( ...)
Value:
INTERNAL_CATCH_DEF __VA_ARGS__
#define INTERNAL_CATCH_DEF(...)

Definition at line 58 of file catch_preprocessor.hpp.

◆ INTERNAL_CATCH_EXPAND1

#define INTERNAL_CATCH_EXPAND1 ( param)
Value:
#define INTERNAL_CATCH_EXPAND2(...)

Definition at line 56 of file catch_preprocessor.hpp.

◆ INTERNAL_CATCH_EXPAND2

#define INTERNAL_CATCH_EXPAND2 ( ...)
Value:
INTERNAL_CATCH_NO## __VA_ARGS__

Definition at line 57 of file catch_preprocessor.hpp.

◆ INTERNAL_CATCH_MAKE_TYPE_LIST

#define INTERNAL_CATCH_MAKE_TYPE_LIST ( types)
Value:

Definition at line 84 of file catch_preprocessor.hpp.

◆ INTERNAL_CATCH_MAKE_TYPE_LISTS_FROM_TYPES

#define INTERNAL_CATCH_MAKE_TYPE_LISTS_FROM_TYPES ( types)
Value:

Definition at line 86 of file catch_preprocessor.hpp.

86#define INTERNAL_CATCH_MAKE_TYPE_LISTS_FROM_TYPES(types)\
87 CATCH_REC_LIST(INTERNAL_CATCH_MAKE_TYPE_LIST,INTERNAL_CATCH_REMOVE_PARENS(types))

◆ INTERNAL_CATCH_NOINTERNAL_CATCH_DEF

#define INTERNAL_CATCH_NOINTERNAL_CATCH_DEF

Definition at line 59 of file catch_preprocessor.hpp.

◆ INTERNAL_CATCH_REMOVE_PARENS

#define INTERNAL_CATCH_REMOVE_PARENS ( ...)
Value:
#define INTERNAL_CATCH_EXPAND1(param)

Definition at line 71 of file catch_preprocessor.hpp.

◆ INTERNAL_CATCH_STRINGIZE

#define INTERNAL_CATCH_STRINGIZE ( ...)
Value:
#define INTERNAL_CATCH_STRINGIZE2(...)

Definition at line 60 of file catch_preprocessor.hpp.

◆ INTERNAL_CATCH_STRINGIZE2

#define INTERNAL_CATCH_STRINGIZE2 ( ...)
Value:
#__VA_ARGS__

Definition at line 62 of file catch_preprocessor.hpp.

◆ INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS

#define INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS ( param)
Value:

Definition at line 63 of file catch_preprocessor.hpp.

◆ INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME

#define INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME ( Name,
... )
Value:
#define INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME2(Name,...)

Definition at line 76 of file catch_preprocessor.hpp.

◆ INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME2

#define INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME2 ( Name,
... )
Value:
#define INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME3(Name,...)

Definition at line 73 of file catch_preprocessor.hpp.

◆ INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME3

#define INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME3 ( Name,
... )
Value:
Name " - " #__VA_ARGS__

Definition at line 75 of file catch_preprocessor.hpp.