diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-06-10 14:40:46 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-06-10 14:40:46 +0200 |
commit | 0f7bea7c3a6ddb0bf43f890c764322faaa3ba561 (patch) | |
tree | ef05aacf5e2aea61ae1fca0748dd6e19997e9c8b /lib/llist.c | |
parent | d5cc77b7449316b6c8374968594f718df567ef7a (diff) | |
download | curl-0f7bea7c3a6ddb0bf43f890c764322faaa3ba561.tar.gz |
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...
Diffstat (limited to 'lib/llist.c')
-rw-r--r-- | lib/llist.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/llist.c b/lib/llist.c index 42364b121..9478a708d 100644 --- a/lib/llist.c +++ b/lib/llist.c @@ -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; |