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");
232 * Here we make a list of all the test cases we want to add to the test suite
240 * test suite.
253 * This defines a suite or grouping of tests.
255 * Test cases are defined as belonging to the suite by adding them to
262 * cleanup. For clarity, running tests in a test suite would behave as follows:
264 * suite.suite_init(suite);
265 * suite.init(test);
266 * suite.test_case[0](test);
267 * suite.exit(test);
268 * suite.init(test);
269 * suite.test_case[1](test);
270 * suite.exit(test);
271 * suite.suite_exit(suite);
284 * This registers the above test suite telling KUnit that this is a suite of