Lines Matching full:suite
55 * enum kunit_status - Type of result for a test or test suite
56 * @KUNIT_SUCCESS: Denotes the test suite has not failed nor been skipped
83 /* Holds attributes for each test case and suite */
100 * with a &struct kunit_suite and will be run after the suite's init
101 * function and followed by the suite's exit function.
225 * @suite_init: called once per test suite before the test cases.
226 * @suite_exit: called once per test suite after all test cases.
230 * @attr: the attributes associated with the test suite
245 int (*suite_init)(struct kunit_suite *suite);
246 void (*suite_exit)(struct kunit_suite *suite);
323 int kunit_run_tests(struct kunit_suite *suite);
325 size_t kunit_suite_num_test_cases(struct kunit_suite *suite);
327 unsigned int kunit_test_case_num(struct kunit_suite *suite,
381 #define kunit_test_suite(suite) kunit_test_suites(&suite) argument
398 * This macro also suffixes the array and suite declarations it makes with
405 * Also, do not mark the suite or test case structs with __initdata because
412 #define kunit_test_init_section_suite(suite) \ argument
413 kunit_test_init_section_suites(&suite)
415 #define kunit_suite_for_each_test_case(suite, test_case) \ argument
416 for (test_case = suite->test_cases; test_case->run_case; test_case++)
418 enum kunit_status kunit_suite_has_succeeded(struct kunit_suite *suite);
604 * printk and log to per-test or per-suite log buffer. Logging only done
624 * Prints an info level message associated with the test suite being run.