kc3-lang/smtp/test/test.c

Branch :


Log

Author Commit Date CI Message
94a86acb 2019-03-24 17:49:55 Add smtp_status_code_clear function Deprecated the smtp_status_code_set function.
5e750f29 2019-03-24 16:47:46 Enable -Weverything and eliminate warnings Only a few warnings have been disabled in the Makefile. Also changed the smtp_attachment_add_mem interface to use a size_t for the datasz parameter.
6e2d81f5 2019-03-01 06:45:46 Add more bytes to SMTP_DATE_MAX_SZ define to silence recent compiler warnings. The previous size was enough to contain the maximum possible size. Remove the redefinition of that size in the test header.
d28a363e 2018-11-14 07:51:36 Handle the scenario of sending fewer bytes at a time, and add test case that sends one byte at a time after creating the connection.
b6744cd1 2018-11-13 07:43:50 Add test seam for strlen() function. Add separate functions that add additional checks for unsigned wrapping. Initialize socket value to -1.
cb346c71 2018-11-03 06:29:54 Update example to include separate email parameters. Split header folding out into separate function, and added corresponding test cases. Applied the chunk function to base64 attachments. Remove undefined behavior resulting from negative shift.
f9d2dfe6 2018-10-31 15:16:09 Assign name to email address in header. Increase default header length.
5c44cf4b 2018-10-07 11:47:29 Replace all instances of ssize_t with long and rearranged unistd include, fixing compile errors on Windows VS.
9dbdc919 2018-10-07 09:19:48 Replace a few sprintf calls with smtp_stpcpy, a portable version of stpcpy. Some sprintf implementations might fail from OOM condition.
ee6d4b2c 2018-08-21 04:29:41 Set all source files to version 1.00.
74e0ffef 2018-08-12 00:17:48 Finish adding test cases for x509 which brings us to 100% branch/code coverage.
530cf11f 2018-08-11 22:29:33 Add new cafile parameter to smtp_open function which allows the caller to explicitly provide a certificate to use instead of adding the certificate to the default certificate path.
f6d4b5e0 2018-08-11 07:06:01 Fix buffer length issue when copying line buffer. Remove carriage-return character when printing debug text. Do not print headers with NULL values. Fix unsigned character comparison when validating header keys. Ensure caller provides a required FROM address. Fix other miscellaneous issues while updating test cases. Fixed a number of problems where test cases did not work as described.
f0a769ef 2018-06-23 21:02:33 Allow sending UTF-8 email headers. Also add support for UTF-8 email addresses in the MAIL and RCPT commands which requires that the email server supports the SMTPUTF8 extension.
6f4550f4 2018-06-16 21:12:33 Complete unit tests for the smtp_str_getdelimfd interface.
7477483c 2018-06-13 16:01:52 Add main testing framework for the SMTP library. This is not quite 100% branch coverage yet.