Lines Matching refs:test_pipe
171 static struct modem_pipe *test_pipe; variable
183 __ASSERT(pipe == test_pipe, "Incorrect pipe provided with callback"); in modem_pipe_fake_handler()
213 test_pipe = modem_backend_fake_init(&test_backend); in modem_backend_fake_setup()
220 modem_pipe_attach(test_pipe, modem_pipe_fake_handler, &test_user_data); in modem_backend_fake_before()
226 __ASSERT(modem_pipe_close(test_pipe, K_SECONDS(10)) == 0, "Failed to close pipe"); in modem_backend_fake_after()
227 modem_pipe_release(test_pipe); in modem_backend_fake_after()
233 zassert_ok(modem_pipe_open(test_pipe, K_SECONDS(10)), "Failed to open pipe"); in test_pipe_open()
244 zassert_ok(modem_pipe_open(test_pipe, K_SECONDS(10)), "Failed to re-open pipe"); in test_pipe_reopen()
253 zassert_ok(modem_pipe_close(test_pipe, K_SECONDS(10)), "Failed to close pipe"); in test_pipe_close()
262 zassert_ok(modem_pipe_close(test_pipe, K_SECONDS(10)), "Failed to re-close pipe"); in test_pipe_reclose()
270 zassert_equal(modem_pipe_transmit(test_pipe, test_buffer, test_buffer_size), in test_pipe_async_transmit()
285 zassert_equal(modem_pipe_transmit(test_pipe, test_buffer, test_buffer_size), in test_pipe_sync_transmit()
297 modem_pipe_attach(test_pipe, modem_pipe_fake_handler, &test_user_data); in test_pipe_attach_receive_not_ready_transmit_idle()
304 modem_pipe_attach(test_pipe, modem_pipe_fake_handler, &test_user_data); in test_pipe_attach_receive_ready_transmit_idle()
313 zassert_equal(modem_pipe_receive(test_pipe, test_buffer, test_buffer_size), in test_pipe_receive()
325 modem_pipe_notify_receive_ready(test_pipe); in test_pipe_notify_receive_ready()