Lines Matching full:fixture
32 * FIXTURE(my_fixture) {
196 .fixture = &_fixture_global, \
216 * Almost always, you want just FIXTURE() instead (see below).
217 * This call may be used when the type of the fixture data
224 * FIXTURE() - Called once per fixture to setup the data and
227 * @fixture_name: fixture name
231 * FIXTURE(fixture_name) {
239 #define FIXTURE(fixture_name) \ macro
251 * FIXTURE_SETUP() - Prepares the setup function for the fixture.
254 * @fixture_name: fixture name
260 * Populates the required "setup" function for a fixture. An instance of the
265 * of any dependent fixture tests.
280 * @fixture_name: fixture name
286 * Populates the required "teardown" function for a fixture. An instance of the
300 * FIXTURE_VARIANT() - Optionally called once per fixture
301 * to declare fixture variant
303 * @fixture_name: fixture name
319 * FIXTURE_VARIANT_ADD() - Called once per fixture
322 * @fixture_name: fixture name
332 * Defines a variant of the test fixture, provided to FIXTURE_SETUP() and
333 * TEST_F() as *variant*. Tests of each fixture will be run once for each
354 * fixture-based test cases
356 * @fixture_name: fixture name
361 * TEST_F(fixture, name) { implementation }
363 * Defines a test that depends on a fixture (e.g., is part of a test case).
364 * Very similar to TEST() except that *self* is the setup instance of fixture's
385 /* fixture data is alloced, setup, and torn down per call. */ \
404 .fixture = &_##fixture_name##_fixture_object, \
792 /* Contains all the information about a fixture. */
833 struct __fixture_metadata *fixture; member
860 __LIST_APPEND(t->fixture->tests, t); in __register_test()
1000 "# FIXTURE", "VARIANT", "TEST"); in test_harness_list_tests()
1044 "\t-f name include fixture\n" in test_harness_argv_check()
1045 "\t-F name exclude fixture\n" in test_harness_argv_check()