{"utc_http_transaction_get_realm_n", utc_http_transaction_get_realm_n},
{"utc_http_transaction_submit_n", utc_http_transaction_submit_n, utc_http_startup, utc_http_cleanup},
{"utc_http_transaction_submit_p", utc_http_transaction_submit_p, utc_http_startup, utc_http_cleanup},
- {"utc_http_deinit_p", utc_http_deinit_p, utc_http_startup, utc_http_cleanup},
{"utc_http_deinit_n", utc_http_deinit_n, utc_http_startup, utc_http_cleanup},
+ {"utc_http_deinit_p", utc_http_deinit_p, utc_http_startup, utc_http_cleanup},
};
#endif // __TCT_CONNECTION_CORE_H__
http_session_destroy(session);
session = NULL;
}
-
- if (is_init) {
- ret = http_deinit();
- if (ret != HTTP_ERROR_NONE)
- fprintf(stderr, "http_deinit error at %s:%d\n", __FILE__, __LINE__);
- is_init = false;
- }
}
/**
#endif
ret = http_deinit();
- assert_eq(ret, HTTP_ERROR_NONE);
+ is_init = false;
ret = http_deinit();
assert_eq(ret, HTTP_ERROR_INVALID_OPERATION);