Lines Matching refs:fake

665 	struct kunit fake;  in kunit_status_set_failure_test()  local
667 kunit_init_test(&fake, "fake test", NULL); in kunit_status_set_failure_test()
669 KUNIT_EXPECT_EQ(test, fake.status, (enum kunit_status)KUNIT_SUCCESS); in kunit_status_set_failure_test()
670 kunit_set_failure(&fake); in kunit_status_set_failure_test()
671 KUNIT_EXPECT_EQ(test, fake.status, (enum kunit_status)KUNIT_FAILURE); in kunit_status_set_failure_test()
676 struct kunit fake; in kunit_status_mark_skipped_test() local
678 kunit_init_test(&fake, "fake test", NULL); in kunit_status_mark_skipped_test()
681 KUNIT_EXPECT_EQ(test, fake.status, KUNIT_SUCCESS); in kunit_status_mark_skipped_test()
682 KUNIT_EXPECT_STREQ(test, fake.status_comment, ""); in kunit_status_mark_skipped_test()
685 kunit_mark_skipped(&fake, "Accepts format string: %s", "YES"); in kunit_status_mark_skipped_test()
688 KUNIT_EXPECT_EQ(test, fake.status, (enum kunit_status)KUNIT_SKIPPED); in kunit_status_mark_skipped_test()
689 KUNIT_EXPECT_STREQ(test, fake.status_comment, "Accepts format string: YES"); in kunit_status_mark_skipped_test()
714 struct kunit fake; in kunit_current_fail_test() local
716 kunit_init_test(&fake, "fake test", NULL); in kunit_current_fail_test()
717 KUNIT_EXPECT_EQ(test, fake.status, KUNIT_SUCCESS); in kunit_current_fail_test()
720 current->kunit_test = &fake; in kunit_current_fail_test()
723 KUNIT_EXPECT_EQ(test, fake.status, (enum kunit_status)KUNIT_FAILURE); in kunit_current_fail_test()
724 kunit_cleanup(&fake); in kunit_current_fail_test()