Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <inttypes.h>
#include <stddef.h>
#include <stdint.h>
#include "asprintf-compat.h"
#include "common.h"
#include "designated-initializer-compat.h"
#include "preprocess.h"
#include "capabilities.h"
#include "assert/op.h"
#include "assert/tag.h"
#include "assert/tostr.h"
#include "assert/types.h"
#include "assert/ieee.h"
Go to the source code of this file.
#define cr_assert | ( | ... | ) | cr_assert_user(__FILE__, __LINE__, criterion_abort_test, __VA_ARGS__) |
Definition at line 179 of file new_asserts.h.
#define cr_assert_fail_user | ( | File, | |
Line, | |||
Fail, | |||
... ) CRI_ASSERT_FAIL(File, Line, Fail, __VA_ARGS__) |
Definition at line 176 of file new_asserts.h.
#define cr_assert_user | ( | File, | |
Line, | |||
Fail, | |||
... ) CRI_ASSERT_CALL(File, Line, Fail, CR_VA_HEAD(__VA_ARGS__), , CR_VA_TAIL(__VA_ARGS__)) |
Definition at line 172 of file new_asserts.h.
#define cr_expect | ( | ... | ) | cr_assert_user(__FILE__, __LINE__, criterion_continue_test, __VA_ARGS__) |
Definition at line 182 of file new_asserts.h.
#define cr_fail | ( | ... | ) | cr_assert_fail_user(__FILE__, __LINE__, criterion_continue_test, __VA_ARGS__) |
Definition at line 188 of file new_asserts.h.
#define cr_fatal | ( | ... | ) | cr_assert_fail_user(__FILE__, __LINE__, criterion_abort_test, __VA_ARGS__) |
Definition at line 185 of file new_asserts.h.
#define cr_skip | ( | ... | ) | criterion_skip_test("" __VA_ARGS__) |
Definition at line 191 of file new_asserts.h.
#define CRI_ASSERT_CALL | ( | File, | |
Line, | |||
Fail, | |||
Condition, | |||
... ) |
Definition at line 69 of file new_asserts.h.
#define CRI_ASSERT_FAIL | ( | File, | |
Line, | |||
Fail, | |||
... ) |
Definition at line 59 of file new_asserts.h.
#define CRI_ASSERT_SPECIFIER | ( | Spec | ) |
Definition at line 53 of file new_asserts.h.
#define CRI_ASSERT_SPECIFIER_all | ( | ... | ) |
Definition at line 119 of file new_asserts.h.
#define CRI_ASSERT_SPECIFIER_ALL_INDIRECT | ( | Cond, | |
E ) |
Definition at line 114 of file new_asserts.h.
#define CRI_ASSERT_SPECIFIER_any | ( | ... | ) |
Definition at line 158 of file new_asserts.h.
#define CRI_ASSERT_SPECIFIER_ANY_INDIRECT | ( | Cond, | |
E ) ; Cond = Cond || CRI_OBSTRUCT_N(CRI_SPECIFIER_INDIRECT)()(E) |
Definition at line 154 of file new_asserts.h.
#define CRI_ASSERT_SPECIFIER_none | ( | ... | ) |
Definition at line 141 of file new_asserts.h.
#define CRI_ASSERT_SPECIFIER_NONE_INDIRECT | ( | Cond, | |
E ) |
Definition at line 132 of file new_asserts.h.
#define CRI_ASSERT_SPECIFIER_not | ( | E | ) |
Definition at line 106 of file new_asserts.h.
#define CRI_ASSERT_SPECIFIER_VALUE | ( | Val | ) |
Definition at line 92 of file new_asserts.h.
#define CRI_ASSERT_TEST_SPECIFIER_all | ( | ... | ) | , |
Definition at line 118 of file new_asserts.h.
#define CRI_ASSERT_TEST_SPECIFIER_any | ( | ... | ) | , |
Definition at line 157 of file new_asserts.h.
#define CRI_ASSERT_TEST_SPECIFIER_none | ( | ... | ) | , |
Definition at line 140 of file new_asserts.h.
#define CRI_ASSERT_TEST_SPECIFIER_not | ( | ... | ) | , |
Definition at line 105 of file new_asserts.h.
#define CRI_SPECIFIER_INDIRECT | ( | ) | CRI_ASSERT_SPECIFIER |
Definition at line 51 of file new_asserts.h.