--wrap,kds_s2000w_convert_jpg_to_pnm_with_depth,\
--wrap,kds_s2000w_client_delete_image,\
--wrap,kds_s2000w_client_set_option,\
+--wrap,kds_s2000w_client_init,\
+--wrap,kds_s2000w_client_free,\
--wrap,load_config,\
--wrap,wait_a_second,\
--wrap,usleep" CACHE STRING "test coverage compiler flags" FORCE)
{
debug_printf(ALL, "kds_s2000w_client_free");
- free(config);
+ free_config(config);
config = NULL;
curl_easy_cleanup(curl);
curl = NULL;
resp->size = mock_resp->size;
}
+void __wrap_kds_s2000w_client_init()
+{
+ return;
+}
+
+void __wrap_kds_s2000w_client_free()
+{
+ return;
+}
+
int __wrap_kds_s2000w_client_get_option(int64_t sessionid, response* response)
{
function_called();
assert_int_equal(status, SANE_STATUS_GOOD);
kds_s2000w_option_descriptor_free_option_descriptors();
- kds_s2000w_client_free();
free_handler(h);
h = NULL;
kds_s2000w_client_response_free(resp);
assert_int_equal(status, SANE_STATUS_DEVICE_BUSY);
kds_s2000w_option_descriptor_free_option_descriptors();
- kds_s2000w_client_free();
free_handler(h);
h = NULL;
kds_s2000w_client_response_free(resp);