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

@ -140,7 +140,10 @@ mk_hash_element(const void *key, size_t key_len, const void *p)
#define FETCH_LIST(x,y,z) x->table[x->hash_func(y, z, x->slots)]
/* Insert the data in the hash. If there already was a match in the hash,
that data is replaced. */
* that data is replaced.
*
* @unittest: 1305
*/
void *
Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p)
{