#include "UT_API.h"Go to the source code of this file.
Classes | |
| struct | CompileTimeError< true > |
Defines | |
| #define | UT_ASSERT_LEVEL_NONE 0 |
| #define | UT_ASSERT_LEVEL_NORMAL 1 |
| #define | UT_ASSERT_LEVEL_PARANOID 2 |
| #define | UT_ASSERT_LEVEL_SLOW 3 |
| #define | UT_ASSERT_LEVEL UT_ASSERT_LEVEL_NONE |
| #define | UT_ASSERT_FUNC ((char *)0) |
| #define | UT_ASSERT_SLOW(ZZ) ((void)0) |
| #define | UT_ASSERT_P(ZZ) ((void)0) |
| #define | UT_ASSERT(ZZ) ((void)0) |
| #define | UT_ASSERT_MSG_SLOW(ZZ, MM) ((void)0) |
| #define | UT_ASSERT_MSG_P(ZZ, MM) ((void)0) |
| #define | UT_ASSERT_MSG(ZZ, MM) ((void)0) |
| #define | UT_ASSERT_COMPILETIME(expr) CompileTimeError<(expr) != 0>() |
| #define | UT_IF_ASSERT(ZZ) |
| #define | UT_IFNOT_ASSERT(ZZ) ZZ |
| #define | UT_IF_ASSERT_P(ZZ) |
| #define | UT_IFNOT_ASSERT_P(ZZ) ZZ |
| #define | UT_IF_ASSERT_SLOW(ZZ) |
| #define | UT_IFNOT_ASSERT_SLOW(ZZ) ZZ |
| #define | UT_VERIFY(expr) ((void)(expr)) |
Enumerations | |
| enum | UT_AssertResponse { UT_ASSERT_RESPONSE_DEBUG, UT_ASSERT_RESPONSE_IGNORE, UT_ASSERT_RESPONSE_IGNORE_ALL, UT_ASSERT_RESPONSE_TRACE, UT_ASSERT_RESPONSE_ERROR } |
Functions | |
| UT_API void | UT_Assert (const char *file, int linenum, const char *function, const char *condition, const char *reason, int &ignoreflag) |
| UT_API void | UTdisableInteractiveAssertsOn () |
| UT_API void | UTdisableInteractiveAssertsOff () |
| #define UT_ASSERT | ( | ZZ | ) | ((void)0) |
Definition at line 84 of file UT_Assert.h.
| #define UT_ASSERT_COMPILETIME | ( | expr | ) | CompileTimeError<(expr) != 0>() |
Definition at line 104 of file UT_Assert.h.
| #define UT_ASSERT_FUNC ((char *)0) |
Definition at line 33 of file UT_Assert.h.
| #define UT_ASSERT_LEVEL UT_ASSERT_LEVEL_NONE |
Definition at line 16 of file UT_Assert.h.
| #define UT_ASSERT_LEVEL_NONE 0 |
Definition at line 10 of file UT_Assert.h.
| #define UT_ASSERT_LEVEL_NORMAL 1 |
Definition at line 11 of file UT_Assert.h.
| #define UT_ASSERT_LEVEL_PARANOID 2 |
Definition at line 12 of file UT_Assert.h.
| #define UT_ASSERT_LEVEL_SLOW 3 |
Definition at line 13 of file UT_Assert.h.
| #define UT_ASSERT_MSG | ( | ZZ, | |||
| MM | ) | ((void)0) |
Definition at line 87 of file UT_Assert.h.
| #define UT_ASSERT_MSG_P | ( | ZZ, | |||
| MM | ) | ((void)0) |
Definition at line 86 of file UT_Assert.h.
| #define UT_ASSERT_MSG_SLOW | ( | ZZ, | |||
| MM | ) | ((void)0) |
Definition at line 85 of file UT_Assert.h.
| #define UT_ASSERT_P | ( | ZZ | ) | ((void)0) |
| #define UT_ASSERT_SLOW | ( | ZZ | ) | ((void)0) |
Definition at line 82 of file UT_Assert.h.
| #define UT_IF_ASSERT | ( | ZZ | ) |
Definition at line 117 of file UT_Assert.h.
| #define UT_IF_ASSERT_P | ( | ZZ | ) |
Definition at line 125 of file UT_Assert.h.
| #define UT_IF_ASSERT_SLOW | ( | ZZ | ) |
Definition at line 133 of file UT_Assert.h.
| #define UT_IFNOT_ASSERT | ( | ZZ | ) | ZZ |
Definition at line 118 of file UT_Assert.h.
| #define UT_IFNOT_ASSERT_P | ( | ZZ | ) | ZZ |
Definition at line 126 of file UT_Assert.h.
| #define UT_IFNOT_ASSERT_SLOW | ( | ZZ | ) | ZZ |
Definition at line 134 of file UT_Assert.h.
| #define UT_VERIFY | ( | expr | ) | ((void)(expr)) |
Definition at line 142 of file UT_Assert.h.
| enum UT_AssertResponse |
| UT_ASSERT_RESPONSE_DEBUG | |
| UT_ASSERT_RESPONSE_IGNORE | |
| UT_ASSERT_RESPONSE_IGNORE_ALL | |
| UT_ASSERT_RESPONSE_TRACE | |
| UT_ASSERT_RESPONSE_ERROR |
Definition at line 145 of file UT_Assert.h.
| UT_API void UT_Assert | ( | const char * | file, | |
| int | linenum, | |||
| const char * | function, | |||
| const char * | condition, | |||
| const char * | reason, | |||
| int & | ignoreflag | |||
| ) |
| UT_API void UTdisableInteractiveAssertsOff | ( | ) |
| UT_API void UTdisableInteractiveAssertsOn | ( | ) |
1.5.9