Lines Matching full:suite
55 * This is run once before all test cases in the suite.
58 static int example_test_init_suite(struct kunit_suite *suite) in example_test_init_suite() argument
60 kunit_info(suite, "initializing suite\n"); in example_test_init_suite()
66 * This is run once after all test cases in the suite.
69 static void example_test_exit_suite(struct kunit_suite *suite) in example_test_exit_suite() argument
71 kunit_info(suite, "exiting suite\n"); in example_test_exit_suite()
263 /* unless setup in suite->init(), test->priv is NULL */ in example_priv_test()
281 * Here we make a list of all the test cases we want to add to the test suite
289 * test suite.
304 * This defines a suite or grouping of tests.
306 * Test cases are defined as belonging to the suite by adding them to
313 * cleanup. For clarity, running tests in a test suite would behave as follows:
315 * suite.suite_init(suite);
316 * suite.init(test);
317 * suite.test_case[0](test);
318 * suite.exit(test);
319 * suite.init(test);
320 * suite.test_case[1](test);
321 * suite.exit(test);
322 * suite.suite_exit(suite);
335 * This registers the above test suite telling KUnit that this is a suite of
372 * This registers the test suite and marks the suite as using init data
377 MODULE_DESCRIPTION("Example KUnit test suite");