Lines Matching full:fixture

32  *    FIXTURE(my_fixture) {
187 .fixture = &_fixture_global, \
207 * Almost always, you want just FIXTURE() instead (see below).
208 * This call may be used when the type of the fixture data
215 * FIXTURE() - Called once per fixture to setup the data and
218 * @fixture_name: fixture name
222 * FIXTURE(fixture_name) {
230 #define FIXTURE(fixture_name) \ macro
242 * FIXTURE_SETUP() - Prepares the setup function for the fixture.
245 * @fixture_name: fixture name
251 * Populates the required "setup" function for a fixture. An instance of the
256 * of any dependent fixture tests.
271 * @fixture_name: fixture name
277 * Populates the required "teardown" function for a fixture. An instance of the
291 * @fixture_name: fixture name
303 * the fixture data between all forked processes.
317 * FIXTURE_VARIANT() - Optionally called once per fixture
318 * to declare fixture variant
320 * @fixture_name: fixture name
336 * FIXTURE_VARIANT_ADD() - Called once per fixture
339 * @fixture_name: fixture name
349 * Defines a variant of the test fixture, provided to FIXTURE_SETUP() and
350 * TEST_F() as *variant*. Tests of each fixture will be run once for each
371 * fixture-based test cases
373 * @fixture_name: fixture name
378 * TEST_F(fixture, name) { implementation }
380 * Defines a test that depends on a fixture (e.g., is part of a test case).
381 * Very similar to TEST() except that *self* is the setup instance of fixture's
408 /* fixture data is alloced, setup, and torn down per call. */ \
469 object->fixture = &_##fixture_name##_fixture_object; \
841 /* Contains all the information about a fixture. */
853 struct __fixture_metadata *fixture; member
861 * @fixture_name: name of the fixture
865 * Mark a combination of variant + test case for a given fixture as expected
873 .fixture = &_##fixture_name##_fixture_object, \
912 struct __fixture_metadata *fixture; member
942 __LIST_APPEND(t->fixture->tests, t); in __register_test()
1099 "# FIXTURE", "VARIANT", "TEST"); in test_harness_list_tests()
1143 "\t-f name include fixture\n" in test_harness_argv_check()
1144 "\t-F name exclude fixture\n" in test_harness_argv_check()