Lines Matching defs:test
11 #define ASSERT_TEST_EXPECT_CONTAIN(test, str, substr) KUNIT_EXPECT_TRUE(test, strstr(str, substr)) argument
12 #define ASSERT_TEST_EXPECT_NCONTAIN(test, str, substr) KUNIT_EXPECT_FALSE(test, strstr(str, substr)) argument
14 static void kunit_test_is_literal(struct kunit *test) in kunit_test_is_literal()
26 static void kunit_test_is_str_literal(struct kunit *test) in kunit_test_is_str_literal()
41 static char *get_str_from_stream(struct kunit *test, struct string_stream *stream) in get_str_from_stream()
51 static void kunit_test_assert_prologue(struct kunit *test) in kunit_test_assert_prologue()
83 static void verify_assert_print_msg(struct kunit *test, in verify_assert_print_msg()
99 static void kunit_test_assert_print_msg(struct kunit *test) in kunit_test_assert_print_msg()
118 static void validate_assert(assert_format_t format_func, struct kunit *test, in validate_assert()
137 static void kunit_test_unary_assert_format(struct kunit *test) in kunit_test_unary_assert_format()
158 static void kunit_test_ptr_not_err_assert_format(struct kunit *test) in kunit_test_ptr_not_err_assert_format()
183 static void kunit_test_binary_assert_format(struct kunit *test) in kunit_test_binary_assert_format()
222 static void kunit_test_binary_ptr_assert_format(struct kunit *test) in kunit_test_binary_ptr_assert_format()
259 static void kunit_test_binary_str_assert_format(struct kunit *test) in kunit_test_binary_str_assert_format()
302 static void kunit_test_assert_hexdump(struct kunit *test) in kunit_test_assert_hexdump()
327 static void kunit_test_mem_assert_format(struct kunit *test) in kunit_test_mem_assert_format()