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:
Daniel Stenberg
2011-06-10 14:40:46 +02:00
parent d5cc77b744
commit 0f7bea7c3a
8 changed files with 34 additions and 6 deletions

View File

@@ -62,6 +62,8 @@ Curl_llist_alloc(curl_llist_dtor dtor)
* inserted first in the list.
*
* Returns: 1 on success and 0 on failure.
*
* @unittest: 1300
*/
int
Curl_llist_insert_next(struct curl_llist *list, struct curl_llist_element *e,
@@ -101,9 +103,11 @@ Curl_llist_insert_next(struct curl_llist *list, struct curl_llist_element *e,
return 1;
}
int
Curl_llist_remove(struct curl_llist *list, struct curl_llist_element *e,
void *user)
/*
* @unittest: 1300
*/
int Curl_llist_remove(struct curl_llist *list, struct curl_llist_element *e,
void *user)
{
if(e == NULL || list->size == 0)
return 1;