From 0f7bea7c3a6ddb0bf43f890c764322faaa3ba561 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 10 Jun 2011 14:40:46 +0200 Subject: 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... --- lib/base64.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/base64.c') diff --git a/lib/base64.c b/lib/base64.c index 3e59f5f46..0de1f0100 100644 --- a/lib/base64.c +++ b/lib/base64.c @@ -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, -- cgit v1.2.3