Lines Matching defs:test

309 static inline void kunit_set_failure(struct kunit *test)  in kunit_set_failure()
445 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc()
465 static inline void *kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kzalloc()
479 static inline void *kunit_kcalloc(struct kunit *test, size_t n, size_t size, gfp_t gfp) in kunit_kcalloc()
504 static inline char *kunit_kstrdup(struct kunit *test, const char *str, gfp_t gfp) in kunit_kstrdup()
600 #define kunit_printk(lvl, test, fmt, ...) \ argument
613 #define kunit_info(test, fmt, ...) \ argument
624 #define kunit_warn(test, fmt, ...) \ argument
635 #define kunit_err(test, fmt, ...) \ argument
642 #define _KUNIT_SAVE_LOC(test) do { \ argument
655 #define KUNIT_SUCCEED(test) _KUNIT_SAVE_LOC(test) argument
666 #define _KUNIT_FAILED(test, assert_type, assert_class, assert_format, INITIALIZER, fmt, ...) do { \ argument
681 #define KUNIT_FAIL_ASSERTION(test, assert_type, fmt, ...) do { \ argument
703 #define KUNIT_FAIL(test, fmt, ...) \ argument
712 #define KUNIT_UNARY_ASSERTION(test, \ argument
733 #define KUNIT_TRUE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
741 #define KUNIT_FALSE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
763 #define KUNIT_BASE_BINARY_ASSERTION(test, \ argument
796 #define KUNIT_BINARY_INT_ASSERTION(test, \ argument
811 #define KUNIT_BINARY_PTR_ASSERTION(test, \ argument
826 #define KUNIT_BINARY_STR_ASSERTION(test, \ argument
858 #define KUNIT_MEM_ASSERTION(test, \ argument
893 #define KUNIT_PTR_NOT_ERR_OR_NULL_MSG_ASSERTION(test, \ argument
925 #define KUNIT_EXPECT_TRUE(test, condition) \ argument
928 #define KUNIT_EXPECT_TRUE_MSG(test, condition, fmt, ...) \ argument
944 #define KUNIT_EXPECT_FALSE(test, condition) \ argument
947 #define KUNIT_EXPECT_FALSE_MSG(test, condition, fmt, ...) \ argument
965 #define KUNIT_EXPECT_EQ(test, left, right) \ argument
968 #define KUNIT_EXPECT_EQ_MSG(test, left, right, fmt, ...) \ argument
986 #define KUNIT_EXPECT_PTR_EQ(test, left, right) \ argument
989 #define KUNIT_EXPECT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1007 #define KUNIT_EXPECT_NE(test, left, right) \ argument
1010 #define KUNIT_EXPECT_NE_MSG(test, left, right, fmt, ...) \ argument
1028 #define KUNIT_EXPECT_PTR_NE(test, left, right) \ argument
1031 #define KUNIT_EXPECT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1049 #define KUNIT_EXPECT_LT(test, left, right) \ argument
1052 #define KUNIT_EXPECT_LT_MSG(test, left, right, fmt, ...) \ argument
1070 #define KUNIT_EXPECT_LE(test, left, right) \ argument
1073 #define KUNIT_EXPECT_LE_MSG(test, left, right, fmt, ...) \ argument
1091 #define KUNIT_EXPECT_GT(test, left, right) \ argument
1094 #define KUNIT_EXPECT_GT_MSG(test, left, right, fmt, ...) \ argument
1112 #define KUNIT_EXPECT_GE(test, left, right) \ argument
1115 #define KUNIT_EXPECT_GE_MSG(test, left, right, fmt, ...) \ argument
1133 #define KUNIT_EXPECT_STREQ(test, left, right) \ argument
1136 #define KUNIT_EXPECT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1154 #define KUNIT_EXPECT_STRNEQ(test, left, right) \ argument
1157 #define KUNIT_EXPECT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1180 #define KUNIT_EXPECT_MEMEQ(test, left, right, size) \ argument
1183 #define KUNIT_EXPECT_MEMEQ_MSG(test, left, right, size, fmt, ...) \ argument
1207 #define KUNIT_EXPECT_MEMNEQ(test, left, right, size) \ argument
1210 #define KUNIT_EXPECT_MEMNEQ_MSG(test, left, right, size, fmt, ...) \ argument
1227 #define KUNIT_EXPECT_NULL(test, ptr) \ argument
1232 #define KUNIT_EXPECT_NULL_MSG(test, ptr, fmt, ...) \ argument
1248 #define KUNIT_EXPECT_NOT_NULL(test, ptr) \ argument
1253 #define KUNIT_EXPECT_NOT_NULL_MSG(test, ptr, fmt, ...) \ argument
1270 #define KUNIT_EXPECT_NOT_ERR_OR_NULL(test, ptr) \ argument
1273 #define KUNIT_EXPECT_NOT_ERR_OR_NULL_MSG(test, ptr, fmt, ...) \ argument
1291 #define KUNIT_FAIL_AND_ABORT(test, fmt, ...) \ argument
1305 #define KUNIT_ASSERT_TRUE(test, condition) \ argument
1308 #define KUNIT_ASSERT_TRUE_MSG(test, condition, fmt, ...) \ argument
1324 #define KUNIT_ASSERT_FALSE(test, condition) \ argument
1327 #define KUNIT_ASSERT_FALSE_MSG(test, condition, fmt, ...) \ argument
1344 #define KUNIT_ASSERT_EQ(test, left, right) \ argument
1347 #define KUNIT_ASSERT_EQ_MSG(test, left, right, fmt, ...) \ argument
1364 #define KUNIT_ASSERT_PTR_EQ(test, left, right) \ argument
1367 #define KUNIT_ASSERT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1384 #define KUNIT_ASSERT_NE(test, left, right) \ argument
1387 #define KUNIT_ASSERT_NE_MSG(test, left, right, fmt, ...) \ argument
1405 #define KUNIT_ASSERT_PTR_NE(test, left, right) \ argument
1408 #define KUNIT_ASSERT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1425 #define KUNIT_ASSERT_LT(test, left, right) \ argument
1428 #define KUNIT_ASSERT_LT_MSG(test, left, right, fmt, ...) \ argument
1445 #define KUNIT_ASSERT_LE(test, left, right) \ argument
1448 #define KUNIT_ASSERT_LE_MSG(test, left, right, fmt, ...) \ argument
1466 #define KUNIT_ASSERT_GT(test, left, right) \ argument
1469 #define KUNIT_ASSERT_GT_MSG(test, left, right, fmt, ...) \ argument
1487 #define KUNIT_ASSERT_GE(test, left, right) \ argument
1490 #define KUNIT_ASSERT_GE_MSG(test, left, right, fmt, ...) \ argument
1507 #define KUNIT_ASSERT_STREQ(test, left, right) \ argument
1510 #define KUNIT_ASSERT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1528 #define KUNIT_ASSERT_STRNEQ(test, left, right) \ argument
1531 #define KUNIT_ASSERT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1554 #define KUNIT_ASSERT_MEMEQ(test, left, right, size) \ argument
1557 #define KUNIT_ASSERT_MEMEQ_MSG(test, left, right, size, fmt, ...) \ argument
1581 #define KUNIT_ASSERT_MEMNEQ(test, left, right, size) \ argument
1584 #define KUNIT_ASSERT_MEMNEQ_MSG(test, left, right, size, fmt, ...) \ argument
1601 #define KUNIT_ASSERT_NULL(test, ptr) \ argument
1606 #define KUNIT_ASSERT_NULL_MSG(test, ptr, fmt, ...) \ argument
1622 #define KUNIT_ASSERT_NOT_NULL(test, ptr) \ argument
1627 #define KUNIT_ASSERT_NOT_NULL_MSG(test, ptr, fmt, ...) \ argument
1644 #define KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr) \ argument
1647 #define KUNIT_ASSERT_NOT_ERR_OR_NULL_MSG(test, ptr, fmt, ...) \ argument