Lines Matching defs:test

226 static inline void kunit_set_failure(struct kunit *test)  in kunit_set_failure()
334 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc()
354 static inline void *kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kzalloc()
368 static inline void *kunit_kcalloc(struct kunit *test, size_t n, size_t size, gfp_t gfp) in kunit_kcalloc()
424 #define kunit_printk(lvl, test, fmt, ...) \ argument
437 #define kunit_info(test, fmt, ...) \ argument
448 #define kunit_warn(test, fmt, ...) \ argument
459 #define kunit_err(test, fmt, ...) \ argument
470 #define KUNIT_SUCCEED(test) do {} while (0) argument
479 #define _KUNIT_FAILED(test, assert_type, assert_class, assert_format, INITIALIZER, fmt, ...) do { \ argument
492 #define KUNIT_FAIL_ASSERTION(test, assert_type, fmt, ...) \ argument
512 #define KUNIT_FAIL(test, fmt, ...) \ argument
518 #define KUNIT_UNARY_ASSERTION(test, \ argument
538 #define KUNIT_TRUE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
546 #define KUNIT_FALSE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
568 #define KUNIT_BASE_BINARY_ASSERTION(test, \ argument
600 #define KUNIT_BINARY_INT_ASSERTION(test, \ argument
615 #define KUNIT_BINARY_PTR_ASSERTION(test, \ argument
630 #define KUNIT_BINARY_STR_ASSERTION(test, \ argument
661 #define KUNIT_PTR_NOT_ERR_OR_NULL_MSG_ASSERTION(test, \ argument
692 #define KUNIT_EXPECT_TRUE(test, condition) \ argument
695 #define KUNIT_EXPECT_TRUE_MSG(test, condition, fmt, ...) \ argument
711 #define KUNIT_EXPECT_FALSE(test, condition) \ argument
714 #define KUNIT_EXPECT_FALSE_MSG(test, condition, fmt, ...) \ argument
732 #define KUNIT_EXPECT_EQ(test, left, right) \ argument
735 #define KUNIT_EXPECT_EQ_MSG(test, left, right, fmt, ...) \ argument
753 #define KUNIT_EXPECT_PTR_EQ(test, left, right) \ argument
756 #define KUNIT_EXPECT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
774 #define KUNIT_EXPECT_NE(test, left, right) \ argument
777 #define KUNIT_EXPECT_NE_MSG(test, left, right, fmt, ...) \ argument
795 #define KUNIT_EXPECT_PTR_NE(test, left, right) \ argument
798 #define KUNIT_EXPECT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
816 #define KUNIT_EXPECT_LT(test, left, right) \ argument
819 #define KUNIT_EXPECT_LT_MSG(test, left, right, fmt, ...) \ argument
837 #define KUNIT_EXPECT_LE(test, left, right) \ argument
840 #define KUNIT_EXPECT_LE_MSG(test, left, right, fmt, ...) \ argument
858 #define KUNIT_EXPECT_GT(test, left, right) \ argument
861 #define KUNIT_EXPECT_GT_MSG(test, left, right, fmt, ...) \ argument
879 #define KUNIT_EXPECT_GE(test, left, right) \ argument
882 #define KUNIT_EXPECT_GE_MSG(test, left, right, fmt, ...) \ argument
900 #define KUNIT_EXPECT_STREQ(test, left, right) \ argument
903 #define KUNIT_EXPECT_STREQ_MSG(test, left, right, fmt, ...) \ argument
921 #define KUNIT_EXPECT_STRNEQ(test, left, right) \ argument
924 #define KUNIT_EXPECT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
940 #define KUNIT_EXPECT_NULL(test, ptr) \ argument
945 #define KUNIT_EXPECT_NULL_MSG(test, ptr, fmt, ...) \ argument
961 #define KUNIT_EXPECT_NOT_NULL(test, ptr) \ argument
966 #define KUNIT_EXPECT_NOT_NULL_MSG(test, ptr, fmt, ...) \ argument
983 #define KUNIT_EXPECT_NOT_ERR_OR_NULL(test, ptr) \ argument
986 #define KUNIT_EXPECT_NOT_ERR_OR_NULL_MSG(test, ptr, fmt, ...) \ argument
993 #define KUNIT_ASSERT_FAILURE(test, fmt, ...) \ argument
1007 #define KUNIT_ASSERT_TRUE(test, condition) \ argument
1010 #define KUNIT_ASSERT_TRUE_MSG(test, condition, fmt, ...) \ argument
1026 #define KUNIT_ASSERT_FALSE(test, condition) \ argument
1029 #define KUNIT_ASSERT_FALSE_MSG(test, condition, fmt, ...) \ argument
1046 #define KUNIT_ASSERT_EQ(test, left, right) \ argument
1049 #define KUNIT_ASSERT_EQ_MSG(test, left, right, fmt, ...) \ argument
1066 #define KUNIT_ASSERT_PTR_EQ(test, left, right) \ argument
1069 #define KUNIT_ASSERT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1086 #define KUNIT_ASSERT_NE(test, left, right) \ argument
1089 #define KUNIT_ASSERT_NE_MSG(test, left, right, fmt, ...) \ argument
1107 #define KUNIT_ASSERT_PTR_NE(test, left, right) \ argument
1110 #define KUNIT_ASSERT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1127 #define KUNIT_ASSERT_LT(test, left, right) \ argument
1130 #define KUNIT_ASSERT_LT_MSG(test, left, right, fmt, ...) \ argument
1147 #define KUNIT_ASSERT_LE(test, left, right) \ argument
1150 #define KUNIT_ASSERT_LE_MSG(test, left, right, fmt, ...) \ argument
1168 #define KUNIT_ASSERT_GT(test, left, right) \ argument
1171 #define KUNIT_ASSERT_GT_MSG(test, left, right, fmt, ...) \ argument
1189 #define KUNIT_ASSERT_GE(test, left, right) \ argument
1192 #define KUNIT_ASSERT_GE_MSG(test, left, right, fmt, ...) \ argument
1209 #define KUNIT_ASSERT_STREQ(test, left, right) \ argument
1212 #define KUNIT_ASSERT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1230 #define KUNIT_ASSERT_STRNEQ(test, left, right) \ argument
1233 #define KUNIT_ASSERT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1249 #define KUNIT_ASSERT_NULL(test, ptr) \ argument
1254 #define KUNIT_ASSERT_NULL_MSG(test, ptr, fmt, ...) \ argument
1270 #define KUNIT_ASSERT_NOT_NULL(test, ptr) \ argument
1275 #define KUNIT_ASSERT_NOT_NULL_MSG(test, ptr, fmt, ...) \ argument
1292 #define KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr) \ argument
1295 #define KUNIT_ASSERT_NOT_ERR_OR_NULL_MSG(test, ptr, fmt, ...) \ argument