Lines Matching defs:tests
1 /* Mach virtual memory unit tests
6 * unit tests, each running as a separate process to isolate its
74 unit_test_t *tests;
117 test_fn_t set_up, unit_test_t *tests,
126 suite->tests = tests;
139 logr("Number of tests: %d\n\n", suite->numoftests);
247 &(suite->tests[i]));
265 /* Include in tests whose expected outcome is a specific signal. */
274 #define run_suite(set_up, tests, tear_down, ...) \
275 _run_suite((sizeof(tests)/sizeof(tests[0])), \
276 (set_up), (tests), (tear_down), __VA_ARGS__)
283 void _run_suite(int numoftests, test_fn_t set_up, UnitTests tests,
302 void _run_suite(int numoftests, test_fn_t set_up, UnitTests tests,
311 suite_t *suite = create_suite(name, numoftests, set_up, tests,
319 /* Signal handler for tests expected to terminate with a specific
365 /* For fixture set up and tear down functions, and units tests. */
834 logv("running tests for %d different sizes \n", numofsizes);
869 * retaining the old main function to debug issues with the tests and not the xnu_quick_test framework