Lines Matching full:fixture
43 static struct stepper_fixture fixture = { in stepper_setup() local
52 zassert_not_null(fixture.dev); in stepper_setup()
53 (void)stepper_enable(fixture.dev, true); in stepper_setup()
54 return &fixture; in stepper_setup()
59 struct stepper_fixture *fixture = f; in stepper_before() local
60 (void)stepper_set_reference_position(fixture->dev, 0); in stepper_before()
68 (void)stepper_set_micro_step_res(fixture->dev, 2); in ZTEST_F()
70 (void)stepper_get_micro_step_res(fixture->dev, &res); in ZTEST_F()
77 (void)stepper_set_reference_position(fixture->dev, pos); in ZTEST_F()
78 (void)stepper_get_actual_position(fixture->dev, &pos); in ZTEST_F()
86 (void)stepper_set_max_velocity(fixture->dev, 100u); in ZTEST_F()
89 (void)stepper_set_event_callback(fixture->dev, fixture->callback, &fixture); in ZTEST_F()
91 (void)stepper_move_to(fixture->dev, pos); in ZTEST_F()
100 (void)stepper_get_actual_position(fixture->dev, &pos); in ZTEST_F()
102 zassert_equal(user_data_received, &fixture, "User data not received"); in ZTEST_F()