Lines Matching refs:fixture
194 .fixture = &_fixture_global, \
215 * This call may be used when the type of the fixture data
222 * FIXTURE() - Called once per fixture to setup the data and
225 * @fixture_name: fixture name
249 * FIXTURE_SETUP() - Prepares the setup function for the fixture.
252 * @fixture_name: fixture name
258 * Populates the required "setup" function for a fixture. An instance of the
263 * of any dependent fixture tests.
278 * @fixture_name: fixture name
284 * Populates the required "teardown" function for a fixture. An instance of the
298 * @fixture_name: fixture name
310 * the fixture data between all forked processes.
324 * FIXTURE_VARIANT() - Optionally called once per fixture
325 * to declare fixture variant
327 * @fixture_name: fixture name
343 * FIXTURE_VARIANT_ADD() - Called once per fixture
346 * @fixture_name: fixture name
356 * Defines a variant of the test fixture, provided to FIXTURE_SETUP() and
357 * TEST_F() as *variant*. Tests of each fixture will be run once for each
378 * fixture-based test cases
380 * @fixture_name: fixture name
385 * TEST_F(fixture, name) { implementation }
387 * Defines a test that depends on a fixture (e.g., is part of a test case).
388 * Very similar to TEST() except that *self* is the setup instance of fixture's
415 /* fixture data is alloced, setup, and torn down per call. */ \
478 object->fixture = &_##fixture_name##_fixture_object; \
851 /* Contains all the information about a fixture. */
863 struct __fixture_metadata *fixture;
871 * @fixture_name: name of the fixture
875 * Mark a combination of variant + test case for a given fixture as expected
883 .fixture = &_##fixture_name##_fixture_object, \
922 struct __fixture_metadata *fixture;
930 bool *no_teardown; /* fixture needs teardown */
954 __LIST_APPEND(t->fixture->tests, t);
1131 "\t-f name include fixture\n"
1132 "\t-F name exclude fixture\n"