Lines Matching refs:response

33 	struct mcumgr_image_upload response;  in ZTEST()  local
43 rc = img_mgmt_client_upload(&img_client, image_dummy, 1024, &response); in ZTEST()
46 zassert_equal(MGMT_ERR_ETIMEOUT, response.status, "Expected to receive %d response %d\n", in ZTEST()
47 MGMT_ERR_ETIMEOUT, response.status); in ZTEST()
53 rc = img_mgmt_client_upload(&img_client, image_dummy, 1024, &response); in ZTEST()
56 zassert_equal(MGMT_ERR_ETIMEOUT, response.status, "Expected to receive %d response %d", in ZTEST()
57 MGMT_ERR_ETIMEOUT, response.status); in ZTEST()
63 rc = img_mgmt_client_upload(&img_client, image_dummy, 1024, &response); in ZTEST()
66 zassert_equal(MGMT_ERR_EINVAL, response.status, "Expected to receive %d response %d", in ZTEST()
67 MGMT_ERR_EINVAL, response.status); in ZTEST()
74 rc = img_mgmt_client_upload(&img_client, image_dummy, 1024, &response); in ZTEST()
76 zassert_equal(MGMT_ERR_EOK, response.status, "Expected to receive %d response %d", in ZTEST()
77 MGMT_ERR_EOK, response.status); in ZTEST()
78 zassert_equal(1024, response.image_upload_offset, in ZTEST()
80 response.image_upload_offset); in ZTEST()
82 rc = img_mgmt_client_upload(&img_client, image_dummy, 1024, &response); in ZTEST()
84 zassert_equal(MGMT_ERR_EOK, response.status, "Expected to receive %d response %d", in ZTEST()
85 MGMT_ERR_EOK, response.status); in ZTEST()
86 zassert_equal(TEST_IMAGE_SIZE, response.image_upload_offset, in ZTEST()
88 response.image_upload_offset); in ZTEST()
94 rc = img_mgmt_client_upload(&img_client, image_dummy, 1024, &response); in ZTEST()
96 zassert_equal(MGMT_ERR_EOK, response.status, "Expected to receive %d response %d", in ZTEST()
97 MGMT_ERR_EOK, response.status); in ZTEST()
98 zassert_equal(1024, response.image_upload_offset, in ZTEST()
100 response.image_upload_offset); in ZTEST()
102 rc = img_mgmt_client_upload(&img_client, image_dummy, 1024, &response); in ZTEST()
104 zassert_equal(MGMT_ERR_EOK, response.status, "Expected to receive %d response %d", in ZTEST()
105 MGMT_ERR_EOK, response.status); in ZTEST()
106 zassert_equal(TEST_IMAGE_SIZE, response.image_upload_offset, in ZTEST()
108 response.image_upload_offset); in ZTEST()