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(fixture_name) - 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(fixture_name) - 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
289 * FIXTURE_VARIANT(fixture_name) - Optionally called once per fixture
290 * to declare fixture variant
292 * @fixture_name: fixture name
308 * FIXTURE_VARIANT_ADD(fixture_name, variant_name) - Called once per fixture
311 * @fixture_name: fixture name
321 * Defines a variant of the test fixture, provided to FIXTURE_SETUP() and
322 * TEST_F() as *variant*. Tests of each fixture will be run once for each
343 * fixture-based test cases
345 * @fixture_name: fixture name
350 * TEST_F(fixture, name) { implementation }
352 * Defines a test that depends on a fixture (e.g., is part of a test case).
353 * Very similar to TEST() except that *self* is the setup instance of fixture's
377 /* fixture data is alloced, setup, and torn down per call. */ \
391 .fixture = &_##fixture_name##_fixture_object, \
777 /* Contains all the information about a fixture. */
818 struct __fixture_metadata *fixture; member
842 __LIST_APPEND(t->fixture->tests, t); in __register_test()