Lines Matching defs:suite
55 * This is run once before all test cases in the suite.
58 static int example_test_init_suite(struct kunit_suite *suite)
60 kunit_info(suite, "initializing suite\n");
66 * This is run once after all test cases in the suite.
69 static void example_test_exit_suite(struct kunit_suite *suite)
71 kunit_info(suite, "exiting suite\n");
263 /* unless setup in suite->init(), test->priv is NULL */
493 * Here we make a list of all the test cases we want to add to the test suite
501 * test suite.
521 * This defines a suite or grouping of tests.
523 * Test cases are defined as belonging to the suite by adding them to
530 * cleanup. For clarity, running tests in a test suite would behave as follows:
532 * suite.suite_init(suite);
533 * suite.init(test);
534 * suite.test_case[0](test);
535 * suite.exit(test);
536 * suite.init(test);
537 * suite.test_case[1](test);
538 * suite.exit(test);
539 * suite.suite_exit(suite);
552 * This registers the above test suite telling KUnit that this is a suite of
589 * This registers the test suite and marks the suite as using init data
594 MODULE_DESCRIPTION("Example KUnit test suite");