• Home
  • Raw
  • Download

Lines Matching defs:test

228 static inline void kunit_set_failure(struct kunit *test)  in kunit_set_failure()
425 static inline void *kunit_alloc_resource(struct kunit *test, in kunit_alloc_resource()
456 static inline bool kunit_resource_instance_match(struct kunit *test, in kunit_resource_instance_match()
469 static inline bool kunit_resource_name_match(struct kunit *test, in kunit_resource_name_match()
483 kunit_find_resource(struct kunit *test, in kunit_find_resource()
510 kunit_find_named_resource(struct kunit *test, in kunit_find_named_resource()
530 static inline int kunit_destroy_named_resource(struct kunit *test, in kunit_destroy_named_resource()
576 static inline void *kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kzalloc()
596 #define kunit_printk(lvl, test, fmt, ...) \ argument
609 #define kunit_info(test, fmt, ...) \ argument
620 #define kunit_warn(test, fmt, ...) \ argument
631 #define kunit_err(test, fmt, ...) \ argument
642 #define KUNIT_SUCCEED(test) do {} while (0) argument
649 #define KUNIT_ASSERTION(test, pass, assert_class, INITIALIZER, fmt, ...) do { \ argument
659 #define KUNIT_FAIL_ASSERTION(test, assert_type, fmt, ...) \ argument
678 #define KUNIT_FAIL(test, fmt, ...) \ argument
684 #define KUNIT_UNARY_ASSERTION(test, \ argument
700 #define KUNIT_TRUE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
708 #define KUNIT_TRUE_ASSERTION(test, assert_type, condition) \ argument
711 #define KUNIT_FALSE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
719 #define KUNIT_FALSE_ASSERTION(test, assert_type, condition) \ argument
736 #define KUNIT_BASE_BINARY_ASSERTION(test, \ argument
764 #define KUNIT_BASE_EQ_MSG_ASSERTION(test, \ argument
780 #define KUNIT_BASE_NE_MSG_ASSERTION(test, \ argument
796 #define KUNIT_BASE_LT_MSG_ASSERTION(test, \ argument
812 #define KUNIT_BASE_LE_MSG_ASSERTION(test, \ argument
828 #define KUNIT_BASE_GT_MSG_ASSERTION(test, \ argument
844 #define KUNIT_BASE_GE_MSG_ASSERTION(test, \ argument
860 #define KUNIT_BINARY_EQ_MSG_ASSERTION(test, assert_type, left, right, fmt, ...)\ argument
870 #define KUNIT_BINARY_EQ_ASSERTION(test, assert_type, left, right) \ argument
877 #define KUNIT_BINARY_PTR_EQ_MSG_ASSERTION(test, \ argument
892 #define KUNIT_BINARY_PTR_EQ_ASSERTION(test, assert_type, left, right) \ argument
899 #define KUNIT_BINARY_NE_MSG_ASSERTION(test, assert_type, left, right, fmt, ...)\ argument
909 #define KUNIT_BINARY_NE_ASSERTION(test, assert_type, left, right) \ argument
916 #define KUNIT_BINARY_PTR_NE_MSG_ASSERTION(test, \ argument
931 #define KUNIT_BINARY_PTR_NE_ASSERTION(test, assert_type, left, right) \ argument
938 #define KUNIT_BINARY_LT_MSG_ASSERTION(test, assert_type, left, right, fmt, ...)\ argument
948 #define KUNIT_BINARY_LT_ASSERTION(test, assert_type, left, right) \ argument
955 #define KUNIT_BINARY_PTR_LT_MSG_ASSERTION(test, \ argument
970 #define KUNIT_BINARY_PTR_LT_ASSERTION(test, assert_type, left, right) \ argument
977 #define KUNIT_BINARY_LE_MSG_ASSERTION(test, assert_type, left, right, fmt, ...)\ argument
987 #define KUNIT_BINARY_LE_ASSERTION(test, assert_type, left, right) \ argument
994 #define KUNIT_BINARY_PTR_LE_MSG_ASSERTION(test, \ argument
1009 #define KUNIT_BINARY_PTR_LE_ASSERTION(test, assert_type, left, right) \ argument
1016 #define KUNIT_BINARY_GT_MSG_ASSERTION(test, assert_type, left, right, fmt, ...)\ argument
1026 #define KUNIT_BINARY_GT_ASSERTION(test, assert_type, left, right) \ argument
1033 #define KUNIT_BINARY_PTR_GT_MSG_ASSERTION(test, \ argument
1048 #define KUNIT_BINARY_PTR_GT_ASSERTION(test, assert_type, left, right) \ argument
1055 #define KUNIT_BINARY_GE_MSG_ASSERTION(test, assert_type, left, right, fmt, ...)\ argument
1065 #define KUNIT_BINARY_GE_ASSERTION(test, assert_type, left, right) \ argument
1072 #define KUNIT_BINARY_PTR_GE_MSG_ASSERTION(test, \ argument
1087 #define KUNIT_BINARY_PTR_GE_ASSERTION(test, assert_type, left, right) \ argument
1094 #define KUNIT_BINARY_STR_ASSERTION(test, \ argument
1119 #define KUNIT_BINARY_STR_EQ_MSG_ASSERTION(test, \ argument
1131 #define KUNIT_BINARY_STR_EQ_ASSERTION(test, assert_type, left, right) \ argument
1138 #define KUNIT_BINARY_STR_NE_MSG_ASSERTION(test, \ argument
1150 #define KUNIT_BINARY_STR_NE_ASSERTION(test, assert_type, left, right) \ argument
1157 #define KUNIT_PTR_NOT_ERR_OR_NULL_MSG_ASSERTION(test, \ argument
1176 #define KUNIT_PTR_NOT_ERR_OR_NULL_ASSERTION(test, assert_type, ptr) \ argument
1193 #define KUNIT_EXPECT_TRUE(test, condition) \ argument
1196 #define KUNIT_EXPECT_TRUE_MSG(test, condition, fmt, ...) \ argument
1212 #define KUNIT_EXPECT_FALSE(test, condition) \ argument
1215 #define KUNIT_EXPECT_FALSE_MSG(test, condition, fmt, ...) \ argument
1233 #define KUNIT_EXPECT_EQ(test, left, right) \ argument
1236 #define KUNIT_EXPECT_EQ_MSG(test, left, right, fmt, ...) \ argument
1255 #define KUNIT_EXPECT_PTR_EQ(test, left, right) \ argument
1261 #define KUNIT_EXPECT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1280 #define KUNIT_EXPECT_NE(test, left, right) \ argument
1283 #define KUNIT_EXPECT_NE_MSG(test, left, right, fmt, ...) \ argument
1302 #define KUNIT_EXPECT_PTR_NE(test, left, right) \ argument
1308 #define KUNIT_EXPECT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1327 #define KUNIT_EXPECT_LT(test, left, right) \ argument
1330 #define KUNIT_EXPECT_LT_MSG(test, left, right, fmt, ...) \ argument
1349 #define KUNIT_EXPECT_LE(test, left, right) \ argument
1352 #define KUNIT_EXPECT_LE_MSG(test, left, right, fmt, ...) \ argument
1371 #define KUNIT_EXPECT_GT(test, left, right) \ argument
1374 #define KUNIT_EXPECT_GT_MSG(test, left, right, fmt, ...) \ argument
1393 #define KUNIT_EXPECT_GE(test, left, right) \ argument
1396 #define KUNIT_EXPECT_GE_MSG(test, left, right, fmt, ...) \ argument
1415 #define KUNIT_EXPECT_STREQ(test, left, right) \ argument
1418 #define KUNIT_EXPECT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1437 #define KUNIT_EXPECT_STRNEQ(test, left, right) \ argument
1440 #define KUNIT_EXPECT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1458 #define KUNIT_EXPECT_NOT_ERR_OR_NULL(test, ptr) \ argument
1461 #define KUNIT_EXPECT_NOT_ERR_OR_NULL_MSG(test, ptr, fmt, ...) \ argument
1468 #define KUNIT_ASSERT_FAILURE(test, fmt, ...) \ argument
1482 #define KUNIT_ASSERT_TRUE(test, condition) \ argument
1485 #define KUNIT_ASSERT_TRUE_MSG(test, condition, fmt, ...) \ argument
1501 #define KUNIT_ASSERT_FALSE(test, condition) \ argument
1504 #define KUNIT_ASSERT_FALSE_MSG(test, condition, fmt, ...) \ argument
1521 #define KUNIT_ASSERT_EQ(test, left, right) \ argument
1524 #define KUNIT_ASSERT_EQ_MSG(test, left, right, fmt, ...) \ argument
1542 #define KUNIT_ASSERT_PTR_EQ(test, left, right) \ argument
1545 #define KUNIT_ASSERT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1563 #define KUNIT_ASSERT_NE(test, left, right) \ argument
1566 #define KUNIT_ASSERT_NE_MSG(test, left, right, fmt, ...) \ argument
1585 #define KUNIT_ASSERT_PTR_NE(test, left, right) \ argument
1588 #define KUNIT_ASSERT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1606 #define KUNIT_ASSERT_LT(test, left, right) \ argument
1609 #define KUNIT_ASSERT_LT_MSG(test, left, right, fmt, ...) \ argument
1627 #define KUNIT_ASSERT_LE(test, left, right) \ argument
1630 #define KUNIT_ASSERT_LE_MSG(test, left, right, fmt, ...) \ argument
1649 #define KUNIT_ASSERT_GT(test, left, right) \ argument
1652 #define KUNIT_ASSERT_GT_MSG(test, left, right, fmt, ...) \ argument
1671 #define KUNIT_ASSERT_GE(test, left, right) \ argument
1674 #define KUNIT_ASSERT_GE_MSG(test, left, right, fmt, ...) \ argument
1692 #define KUNIT_ASSERT_STREQ(test, left, right) \ argument
1695 #define KUNIT_ASSERT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1714 #define KUNIT_ASSERT_STRNEQ(test, left, right) \ argument
1717 #define KUNIT_ASSERT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1735 #define KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr) \ argument
1738 #define KUNIT_ASSERT_NOT_ERR_OR_NULL_MSG(test, ptr, fmt, ...) \ argument