Lines Matching refs:fixture

200 		  .fixture = &_fixture_global, \
221 * This call may be used when the type of the fixture data
228 * FIXTURE() - Called once per fixture to setup the data and
231 * @fixture_name: fixture name
255 * FIXTURE_SETUP() - Prepares the setup function for the fixture.
258 * @fixture_name: fixture name
264 * Populates the required "setup" function for a fixture. An instance of the
269 * of any dependent fixture tests.
284 * @fixture_name: fixture name
290 * Populates the required "teardown" function for a fixture. An instance of the
304 * @fixture_name: fixture name
316 * the fixture data between all forked processes.
330 * FIXTURE_VARIANT() - Optionally called once per fixture
331 * to declare fixture variant
333 * @fixture_name: fixture name
349 * FIXTURE_VARIANT_ADD() - Called once per fixture
352 * @fixture_name: fixture name
362 * Defines a variant of the test fixture, provided to FIXTURE_SETUP() and
363 * TEST_F() as *variant*. Tests of each fixture will be run once for each
384 * fixture-based test cases
386 * @fixture_name: fixture name
391 * TEST_F(fixture, name) { implementation }
393 * Defines a test that depends on a fixture (e.g., is part of a test case).
394 * Very similar to TEST() except that *self* is the setup instance of fixture's
421 /* fixture data is alloced, setup, and torn down per call. */ \
482 object->fixture = &_##fixture_name##_fixture_object; \
860 /* Contains all the information about a fixture. */
872 struct __fixture_metadata *fixture;
880 * @fixture_name: name of the fixture
884 * Mark a combination of variant + test case for a given fixture as expected
892 .fixture = &_##fixture_name##_fixture_object, \
934 struct __fixture_metadata *fixture;
964 __LIST_APPEND(t->fixture->tests, t);
1149 "\t-f name include fixture\n"
1150 "\t-F name exclude fixture\n"