test/seams.c


Log

Author Commit Date CI Message
James Humphrey 5e750f29 2019-03-24T16: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.
humphreyj d28a363e 2018-11-14T07: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.
humphreyj b6744cd1 2018-11-13T07:43:50 Add test seam for strlen() function. Add separate functions that add additional checks for unsigned wrapping. Initialize socket value to -1.
humphreyj 5c44cf4b 2018-10-07T11:47:29 Replace all instances of ssize_t with long and rearranged unistd include, fixing compile errors on Windows VS.
humphreyj ee6d4b2c 2018-08-21T04:29:41 Set all source files to version 1.00.
humphreyj 74e0ffef 2018-08-12T00:17:48 Finish adding test cases for x509 which brings us to 100% branch/code coverage.
humphreyj f6d4b5e0 2018-08-11T07: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.
humphreyj 3de6b0bc 2018-06-17T03:39:30 Add missing includes that generated warnings on some systems.
humphreyj 1490e2d2 2018-06-05T14:55:19 Add test seams on some of the functions used by the SMTP library. This will allow the main testing framework to inject return values at certain points in order to test different error conditions.