Home
last modified time | relevance | path

Searched defs:fixture (Results 1 – 25 of 111) sorted by relevance

12345

/Zephyr-latest/tests/net/socket/socketpair/src/
D_main.c17 static ZTEST_DMEM struct net_socketpair_fixture fixture; variable
27 struct net_socketpair_fixture *fixture = arg; in before() local
39 struct net_socketpair_fixture *fixture = arg; in after() local
/Zephyr-latest/tests/drivers/usb/bc12/src/
Dcharging_mode.c34 struct bc12_pi3usb9201_charging_mode_fixture *fixture = user_data; in bc12_test_result_cb() local
72 struct bc12_pi3usb9201_charging_mode_fixture *fixture = data; in bc12_before() local
81 struct bc12_pi3usb9201_charging_mode_fixture *fixture = data; in bc12_after() local
89 static struct bc12_pi3usb9201_charging_mode_fixture fixture = { in bc12_setup() local
Dpd_mode.c36 struct bc12_pd_mode_fixture *fixture = user_data; in bc12_test_result_cb() local
173 struct bc12_pd_mode_fixture *fixture = data; in bc12_before() local
184 struct bc12_pd_mode_fixture *fixture = data; in bc12_after() local
192 static struct bc12_pd_mode_fixture fixture = { in bc12_setup() local
/Zephyr-latest/tests/drivers/stepper/drv8424/emul/src/
Dmain.c25 static struct drv8424_emul_fixture fixture = { in drv8424_emul_setup() local
35 struct drv8424_emul_fixture *fixture = f; in drv8424_emul_before() local
42 struct drv8424_emul_fixture *fixture = f; in drv8424_emul_after() local
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/
Dmain.c31 static void before(void *fixture) in before()
51 static void before_dir_both(void *fixture) in before_dir_both()
/Zephyr-latest/tests/drivers/uart/uart_emul/src/
Dbus.c40 static struct uart_emul_fixture fixture = {.dev = DEVICE_DT_GET(EMUL_UART_NODE)}; in uart_emul_setup() local
61 struct uart_emul_fixture *fixture = f; in uart_emul_before() local
147 static void uart_emul_isr_handle_tx_ready(struct uart_emul_fixture *fixture) in uart_emul_isr_handle_tx_ready()
165 static void uart_emul_isr_handle_rx_ready(struct uart_emul_fixture *fixture) in uart_emul_isr_handle_rx_ready()
184 struct uart_emul_fixture *fixture = user_data; in uart_emul_isr() local
244 struct uart_emul_fixture *fixture = user_data; in uart_emul_callback() local
270 bool uart_emul_wait_for_event(struct uart_emul_fixture *fixture, enum uart_event_type event) in uart_emul_wait_for_event()
321 struct uart_emul_fixture *fixture = user_data; in uart_emul_callback_rx_timeout() local
Ddevice.c46 static struct uart_emul_device_fixture fixture = {.dev = DEVICE_DT_GET(EMUL_UART_NODE)}; in uart_emul_device_setup() local
67 struct uart_emul_device_fixture *fixture = f; in uart_emul_device_before() local
119 static void uart_emul_device_isr_handle_tx_ready(struct uart_emul_device_fixture *fixture) in uart_emul_device_isr_handle_tx_ready()
137 static void uart_emul_device_isr_handle_rx_ready(struct uart_emul_device_fixture *fixture) in uart_emul_device_isr_handle_rx_ready()
156 struct uart_emul_device_fixture *fixture = user_data; in uart_emul_device_isr() local
201 struct uart_emul_device_fixture *fixture = user_data; in uart_emul_callback() local
227 static bool uart_emul_device_wait_for_event(struct uart_emul_device_fixture *fixture, in uart_emul_device_wait_for_event()
/Zephyr-latest/tests/drivers/sensor/ina237/src/
Dina237_test.c49 static void test_shunt_cal(struct ina237_fixture *fixture) in test_shunt_cal()
68 static void test_current(struct ina237_fixture *fixture) in test_current()
101 static void test_bus_voltage(struct ina237_fixture *fixture) in test_bus_voltage()
133 static void test_power(struct ina237_fixture *fixture) in test_power()
166 static void test_temperature(struct ina237_fixture *fixture) in test_temperature()
200 static void test_vshunt(struct ina237_fixture *fixture) in test_vshunt()
/Zephyr-latest/tests/drivers/sensor/adltc2990/src/
Dmain.c63 static struct adltc2990_0_0_fixture fixture = { in adltc2990_0_0_setup() local
75 struct adltc2990_0_0_fixture *fixture = f; in adltc2990_0_0_before() local
101 static struct adltc2990_4_3_fixture fixture = { in adltc2990_4_3_setup() local
113 struct adltc2990_4_3_fixture *fixture = f; in adltc2990_4_3_before() local
141 static struct adltc2990_1_3_fixture fixture = { in adltc2990_1_3_setup() local
153 struct adltc2990_1_3_fixture *fixture = f; in adltc2990_1_3_before() local
251 static struct adltc2990_5_3_fixture fixture = { in adltc2990_5_3_setup() local
263 struct adltc2990_5_3_fixture *fixture = f; in adltc2990_5_3_before() local
312 static struct adltc2990_6_3_fixture fixture = { in adltc2990_6_3_setup() local
324 struct adltc2990_6_3_fixture *fixture = f; in adltc2990_6_3_before() local
[all …]
/Zephyr-latest/tests/drivers/sensor/akm09918c/src/
Dmain.c22 static struct akm09918c_fixture fixture = { in akm09918c_setup() local
34 struct akm09918c_fixture *fixture = f; in akm09918c_before() local
49 static void test_fetch_magnetic_field(const struct akm09918c_fixture *fixture, in test_fetch_magnetic_field()
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/src/
Dmain.c27 static void mock_init_rule_before(const struct ztest_unit_test *test, void *fixture) in mock_init_rule_before()
32 static void mock_destroy_rule_after(const struct ztest_unit_test *test, void *fixture) in mock_destroy_rule_after()
43 static void cap_initiator_test_suite_fixture_init(struct cap_initiator_test_suite_fixture *fixture) in cap_initiator_test_suite_fixture_init()
52 struct cap_initiator_test_suite_fixture *fixture; in cap_initiator_test_suite_setup() local
68 struct cap_initiator_test_suite_fixture *fixture = f; in cap_initiator_test_suite_after() local
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/
Dmain.c22 static void mock_init_rule_before(const struct ztest_unit_test *test, void *fixture) in mock_init_rule_before()
27 static void mock_destroy_rule_after(const struct ztest_unit_test *test, void *fixture) in mock_destroy_rule_after()
38 static void cap_commander_test_suite_fixture_init(struct cap_commander_test_suite_fixture *fixture) in cap_commander_test_suite_fixture_init()
47 struct cap_commander_test_suite_fixture *fixture; in cap_commander_test_suite_setup() local
63 struct cap_commander_test_suite_fixture *fixture = f; in cap_commander_test_suite_after() local
/Zephyr-latest/tests/drivers/sensor/ina230/src/
Dina230_test.c50 static void test_datasheet_example(struct ina230_fixture *fixture) in test_datasheet_example()
94 static void test_shunt_cal(struct ina230_fixture *fixture) in test_shunt_cal()
109 static void test_current(struct ina230_fixture *fixture) in test_current()
142 static void test_bus_voltage(struct ina230_fixture *fixture) in test_bus_voltage()
176 static void test_power(struct ina230_fixture *fixture) in test_power()
/Zephyr-latest/tests/drivers/sensor/bmi160/src/
Dfixture.c45 static struct bmi160_fixture fixture = { in bmi160_setup() local
60 struct bmi160_fixture *fixture = (struct bmi160_fixture *)f; in bmi160_before() local
/Zephyr-latest/tests/drivers/gpio/gpio_enable_disable_interrupt/src/
Dmain.c28 static struct gpio_enable_disable_interrupt_fixture fixture; in gpio_enable_disable_interrupt_setup() local
37 struct gpio_enable_disable_interrupt_fixture *fixture = in gpio_enable_disable_interrupt_before() local
54 struct gpio_enable_disable_interrupt_fixture *fixture = in gpio_enable_disable_interrupt_after() local
/Zephyr-latest/tests/drivers/gpio/gpio_get_direction/src/
Dmain.c23 static struct gpio_get_direction_fixture fixture; in gpio_get_direction_setup() local
33 struct gpio_get_direction_fixture *fixture = (struct gpio_get_direction_fixture *)arg; in gpio_get_direction_before() local
38 static void common(struct gpio_get_direction_fixture *fixture) in common()
/Zephyr-latest/tests/subsys/shell/shell_backend_uart/src/
Dmain.c29 struct shell_backend_uart_fixture *fixture = f; in before() local
39 struct shell_backend_uart_fixture *fixture = f; in after() local
114 static struct shell_backend_uart_fixture fixture = { in setup() local
/Zephyr-latest/drivers/comparator/
Dcomparator_fake_comp.c42 static void fake_comp_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fake_comp_reset_rule_before()
/Zephyr-latest/tests/drivers/sensor/icm42688/src/
Dmain.c29 static struct icm42688_fixture fixture = { in icm42688_setup() local
49 static void test_fetch_temp_mc(const struct icm42688_fixture *fixture, int16_t temperature_mc) in test_fetch_temp_mc()
89 static void test_fetch_accel_with_range(const struct icm42688_fixture *fixture, in test_fetch_accel_with_range()
149 static void test_fetch_gyro_with_range(const struct icm42688_fixture *fixture, int32_t scale_mdps, in test_fetch_gyro_with_range()
/Zephyr-latest/tests/lib/c_lib/thrd/src/
Dcnd.c71 struct libc_cnd_fixture *const fixture = arg; in test_cnd_thread_fn() local
91 static void tst_cnd_common(struct libc_cnd_fixture *fixture, size_t wait_ms, bool th2, int exp1, in tst_cnd_common()
153 struct libc_cnd_fixture *const fixture = arg; in before() local
166 struct libc_cnd_fixture *const fixture = arg; in after() local
/Zephyr-latest/tests/drivers/i2c/i2c_emul/src/
Dtest_fowarding_common.cpp32 static void i2c_emul_forwarding_before(void *fixture) in i2c_emul_forwarding_before()
41 static void i2c_emul_forwarding_teardown(void *fixture) in i2c_emul_forwarding_teardown()
/Zephyr-latest/drivers/rtc/
Drtc_fake.c44 static void fake_rtc_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fake_rtc_reset_rule_before()
/Zephyr-latest/tests/subsys/logging/log_backend_uart/src/
Dmain.c31 static struct log_backend_uart_fixture fixture = { in uart_emul_setup() local
43 struct log_backend_uart_fixture *fixture = f; in uart_emul_before() local
/Zephyr-latest/tests/posix/eventfd/src/
D_main.c94 struct eventfd_fixture *fixture = arg; in before() local
102 struct eventfd_fixture *fixture = arg; in after() local
/Zephyr-latest/tests/bluetooth/host/id/bt_br_oob_get_local/src/
Dmain.c18 static void fff_reset_rule_before(const struct ztest_unit_test *test, void *fixture) in fff_reset_rule_before()

12345