mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:13:34 +03:00
unittest: mark all unit tested functions
With "@unittest: [num]" in the header comment for each tested function. Shows we have a log way to go still...
This commit is contained in:
parent
d5cc77b744
commit
0f7bea7c3a
8 changed files with 34 additions and 6 deletions
|
|
@ -73,6 +73,8 @@ static void decodeQuantum(unsigned char *dest, const char *src)
|
|||
*
|
||||
* Given a base64 string at src, decode it and return an allocated memory in
|
||||
* the *outptr. Returns the length of the decoded data.
|
||||
*
|
||||
* @unittest: 1302
|
||||
*/
|
||||
size_t Curl_base64_decode(const char *src, unsigned char **outptr)
|
||||
{
|
||||
|
|
@ -135,6 +137,7 @@ size_t Curl_base64_decode(const char *src, unsigned char **outptr)
|
|||
* is a pointer to an allocated area holding the base64 data. If something
|
||||
* went wrong, 0 is returned.
|
||||
*
|
||||
* @unittest: 1302
|
||||
*/
|
||||
size_t Curl_base64_encode(struct SessionHandle *data,
|
||||
const char *inputbuff, size_t insize,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue