Lines Matching defs:test
307 static inline void kunit_set_failure(struct kunit *test) in kunit_set_failure()
435 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc()
455 static inline void *kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kzalloc()
469 static inline void *kunit_kcalloc(struct kunit *test, size_t n, size_t size, gfp_t gfp) in kunit_kcalloc()
525 #define kunit_printk(lvl, test, fmt, ...) \ argument
538 #define kunit_info(test, fmt, ...) \ argument
549 #define kunit_warn(test, fmt, ...) \ argument
560 #define kunit_err(test, fmt, ...) \ argument
571 #define KUNIT_SUCCEED(test) do {} while (0) argument
582 #define _KUNIT_FAILED(test, assert_type, assert_class, assert_format, INITIALIZER, fmt, ...) do { \ argument
597 #define KUNIT_FAIL_ASSERTION(test, assert_type, fmt, ...) \ argument
617 #define KUNIT_FAIL(test, fmt, ...) \ argument
626 #define KUNIT_UNARY_ASSERTION(test, \ argument
646 #define KUNIT_TRUE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
654 #define KUNIT_FALSE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
676 #define KUNIT_BASE_BINARY_ASSERTION(test, \ argument
708 #define KUNIT_BINARY_INT_ASSERTION(test, \ argument
723 #define KUNIT_BINARY_PTR_ASSERTION(test, \ argument
738 #define KUNIT_BINARY_STR_ASSERTION(test, \ argument
769 #define KUNIT_MEM_ASSERTION(test, \ argument
803 #define KUNIT_PTR_NOT_ERR_OR_NULL_MSG_ASSERTION(test, \ argument
834 #define KUNIT_EXPECT_TRUE(test, condition) \ argument
837 #define KUNIT_EXPECT_TRUE_MSG(test, condition, fmt, ...) \ argument
853 #define KUNIT_EXPECT_FALSE(test, condition) \ argument
856 #define KUNIT_EXPECT_FALSE_MSG(test, condition, fmt, ...) \ argument
874 #define KUNIT_EXPECT_EQ(test, left, right) \ argument
877 #define KUNIT_EXPECT_EQ_MSG(test, left, right, fmt, ...) \ argument
895 #define KUNIT_EXPECT_PTR_EQ(test, left, right) \ argument
898 #define KUNIT_EXPECT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
916 #define KUNIT_EXPECT_NE(test, left, right) \ argument
919 #define KUNIT_EXPECT_NE_MSG(test, left, right, fmt, ...) \ argument
937 #define KUNIT_EXPECT_PTR_NE(test, left, right) \ argument
940 #define KUNIT_EXPECT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
958 #define KUNIT_EXPECT_LT(test, left, right) \ argument
961 #define KUNIT_EXPECT_LT_MSG(test, left, right, fmt, ...) \ argument
979 #define KUNIT_EXPECT_LE(test, left, right) \ argument
982 #define KUNIT_EXPECT_LE_MSG(test, left, right, fmt, ...) \ argument
1000 #define KUNIT_EXPECT_GT(test, left, right) \ argument
1003 #define KUNIT_EXPECT_GT_MSG(test, left, right, fmt, ...) \ argument
1021 #define KUNIT_EXPECT_GE(test, left, right) \ argument
1024 #define KUNIT_EXPECT_GE_MSG(test, left, right, fmt, ...) \ argument
1042 #define KUNIT_EXPECT_STREQ(test, left, right) \ argument
1045 #define KUNIT_EXPECT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1063 #define KUNIT_EXPECT_STRNEQ(test, left, right) \ argument
1066 #define KUNIT_EXPECT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1089 #define KUNIT_EXPECT_MEMEQ(test, left, right, size) \ argument
1092 #define KUNIT_EXPECT_MEMEQ_MSG(test, left, right, size, fmt, ...) \ argument
1116 #define KUNIT_EXPECT_MEMNEQ(test, left, right, size) \ argument
1119 #define KUNIT_EXPECT_MEMNEQ_MSG(test, left, right, size, fmt, ...) \ argument
1136 #define KUNIT_EXPECT_NULL(test, ptr) \ argument
1141 #define KUNIT_EXPECT_NULL_MSG(test, ptr, fmt, ...) \ argument
1157 #define KUNIT_EXPECT_NOT_NULL(test, ptr) \ argument
1162 #define KUNIT_EXPECT_NOT_NULL_MSG(test, ptr, fmt, ...) \ argument
1179 #define KUNIT_EXPECT_NOT_ERR_OR_NULL(test, ptr) \ argument
1182 #define KUNIT_EXPECT_NOT_ERR_OR_NULL_MSG(test, ptr, fmt, ...) \ argument
1189 #define KUNIT_ASSERT_FAILURE(test, fmt, ...) \ argument
1203 #define KUNIT_ASSERT_TRUE(test, condition) \ argument
1206 #define KUNIT_ASSERT_TRUE_MSG(test, condition, fmt, ...) \ argument
1222 #define KUNIT_ASSERT_FALSE(test, condition) \ argument
1225 #define KUNIT_ASSERT_FALSE_MSG(test, condition, fmt, ...) \ argument
1242 #define KUNIT_ASSERT_EQ(test, left, right) \ argument
1245 #define KUNIT_ASSERT_EQ_MSG(test, left, right, fmt, ...) \ argument
1262 #define KUNIT_ASSERT_PTR_EQ(test, left, right) \ argument
1265 #define KUNIT_ASSERT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1282 #define KUNIT_ASSERT_NE(test, left, right) \ argument
1285 #define KUNIT_ASSERT_NE_MSG(test, left, right, fmt, ...) \ argument
1303 #define KUNIT_ASSERT_PTR_NE(test, left, right) \ argument
1306 #define KUNIT_ASSERT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1323 #define KUNIT_ASSERT_LT(test, left, right) \ argument
1326 #define KUNIT_ASSERT_LT_MSG(test, left, right, fmt, ...) \ argument
1343 #define KUNIT_ASSERT_LE(test, left, right) \ argument
1346 #define KUNIT_ASSERT_LE_MSG(test, left, right, fmt, ...) \ argument
1364 #define KUNIT_ASSERT_GT(test, left, right) \ argument
1367 #define KUNIT_ASSERT_GT_MSG(test, left, right, fmt, ...) \ argument
1385 #define KUNIT_ASSERT_GE(test, left, right) \ argument
1388 #define KUNIT_ASSERT_GE_MSG(test, left, right, fmt, ...) \ argument
1405 #define KUNIT_ASSERT_STREQ(test, left, right) \ argument
1408 #define KUNIT_ASSERT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1426 #define KUNIT_ASSERT_STRNEQ(test, left, right) \ argument
1429 #define KUNIT_ASSERT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1445 #define KUNIT_ASSERT_NULL(test, ptr) \ argument
1450 #define KUNIT_ASSERT_NULL_MSG(test, ptr, fmt, ...) \ argument
1466 #define KUNIT_ASSERT_NOT_NULL(test, ptr) \ argument
1471 #define KUNIT_ASSERT_NOT_NULL_MSG(test, ptr, fmt, ...) \ argument
1488 #define KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr) \ argument
1491 #define KUNIT_ASSERT_NOT_ERR_OR_NULL_MSG(test, ptr, fmt, ...) \ argument