|
uc-sdk
|
Go to the source code of this file.
Macros | |
| #define | FAIL_RET() do { fail(); return; } while(0) |
| #define | EXPECT(x) fail_unless(x) |
| #define | EXPECT_RET(x) do { fail_unless(x); if(!(x)) { return; }} while(0) |
| #define | EXPECT_RETX(x, y) do { fail_unless(x); if(!(x)) { return y; }} while(0) |
| #define | EXPECT_RETNULL(x) EXPECT_RETX(x, NULL) |
Typedefs | |
| typedef Suite *( | suite_getter_fn )(void) |
| #define EXPECT | ( | x) | fail_unless(x) |
Definition at line 11 of file lwip_check.h.
| #define EXPECT_RET | ( | x) | do { fail_unless(x); if(!(x)) { return; }} while(0) |
Definition at line 12 of file lwip_check.h.
| #define EXPECT_RETNULL | ( | x) | EXPECT_RETX(x, NULL) |
Definition at line 14 of file lwip_check.h.
| #define EXPECT_RETX | ( | x, | |
| y | |||
| ) | do { fail_unless(x); if(!(x)) { return y; }} while(0) |
Definition at line 13 of file lwip_check.h.
| #define FAIL_RET | ( | ) | do { fail(); return; } while(0) |
Definition at line 10 of file lwip_check.h.
| typedef Suite*( suite_getter_fn)(void) |
typedef for a function returning a test suite
Definition at line 17 of file lwip_check.h.