Lines Matching full:fixture

32  *    FIXTURE(my_fixture) {
191 .fixture = &_fixture_global, \
211 * Almost always, you want just FIXTURE() instead (see below).
212 * This call may be used when the type of the fixture data
219 * FIXTURE() - Called once per fixture to setup the data and
222 * @fixture_name: fixture name
226 * FIXTURE(fixture_name) {
234 #define FIXTURE(fixture_name) \ macro
246 * FIXTURE_SETUP() - Prepares the setup function for the fixture.
249 * @fixture_name: fixture name
255 * Populates the required "setup" function for a fixture. An instance of the
260 * of any dependent fixture tests.
275 * @fixture_name: fixture name
281 * Populates the required "teardown" function for a fixture. An instance of the
293 * FIXTURE_VARIANT() - Optionally called once per fixture
294 * to declare fixture variant
296 * @fixture_name: fixture name
312 * FIXTURE_VARIANT_ADD() - Called once per fixture
315 * @fixture_name: fixture name
325 * Defines a variant of the test fixture, provided to FIXTURE_SETUP() and
326 * TEST_F() as *variant*. Tests of each fixture will be run once for each
347 * fixture-based test cases
349 * @fixture_name: fixture name
354 * TEST_F(fixture, name) { implementation }
356 * Defines a test that depends on a fixture (e.g., is part of a test case).
357 * Very similar to TEST() except that *self* is the setup instance of fixture's
381 /* fixture data is alloced, setup, and torn down per call. */ \
395 .fixture = &_##fixture_name##_fixture_object, \
781 /* Contains all the information about a fixture. */
822 struct __fixture_metadata *fixture; member
846 __LIST_APPEND(t->fixture->tests, t); in __register_test()