Commit graph

63 commits

Author SHA1 Message Date
Andrew Ferrier
f044f6a1c0 Enhance test layout and coverage report. 2015-01-28 18:57:47 +03:00
Andrew Ferrier
763692541f Add broken HTML test and fix src bug. 2015-01-24 18:29:33 +03:00
Andrew Ferrier
a32f5ec8ba Add fuzz test, now observed defects array being populated. 2015-01-24 17:44:05 +03:00
Andrew Ferrier
51c8dd10b0 Fix style error. 2015-01-18 16:03:11 +00:00
Andrew Ferrier
e34e3c1a4d Handle floating attachments. 2015-01-18 15:41:13 +00:00
Andrew Ferrier
4260887683 Only capture PSExceptions. 2015-01-18 15:41:13 +00:00
Andrew Ferrier
a1839255b0 Use more elegant way of handling temporary files and directories. 2015-01-12 21:00:46 +00:00
Andrew Ferrier
2047dbe7b1 Clarify usage of -o and -d together - closes 2015-01-12 20:51:57 +00:00
Andrew Ferrier
32b4d1a957 Add upside-down text tests. 2015-01-11 19:50:11 +00:00
Andrew Ferrier
375f15aa52 Simplify to a blacklist of MIME types - closes , 2015-01-09 20:09:29 +00:00
Andrew Ferrier
f1c4c66ab2 Delete tmpfile used for creating filename. 2015-01-04 13:17:20 +00:00
Andrew Ferrier
29f3d569e6 Fix bug with body encoding as iso-8859-1, improve tests. 2015-01-03 17:34:10 +00:00
Andrew Ferrier
e36ebddede Fix style issues. 2014-12-28 12:12:10 +00:00
Andrew Ferrier
5b5f960473 Cleanup test titles. 2014-12-28 12:09:56 +00:00
Andrew Ferrier
53cf1f435b Enhance time-frozen tests - closes 2014-12-28 12:07:08 +00:00
Andrew Ferrier
accfc0f45a Refactor FaultyAttachments to work as AttachmentDetection. 2014-12-28 11:52:09 +00:00
Andrew Ferrier
e3df2af7bf Cleanup basic tests. 2014-12-28 11:45:10 +00:00
Andrew Ferrier
611566c3b5 Fix broken import. 2014-12-28 11:44:47 +00:00
Andrew Ferrier
6d66d54bd2 Factor out CID tests. 2014-12-28 11:42:27 +00:00
Andrew Ferrier
d4773195a0 Factor out JPG, PNG filenames and sizes. 2014-12-28 11:41:59 +00:00
Andrew Ferrier
a0afc5cc2b Factor out default header strings and separate metadata tests. 2014-12-27 16:27:30 +00:00
Andrew Ferrier
d8e1af9718 Add tests for --help and an invalid option. 2014-12-25 21:08:22 +00:00
Andrew Ferrier
ab3a7bc6bf Factor out command. 2014-12-25 20:34:36 +00:00
Andrew Ferrier
6a75d3160c Move remote image not existing tests into Direct. 2014-12-25 20:15:35 +00:00
Andrew Ferrier
e2994ffafc Improve robustness of online check. 2014-12-25 20:15:35 +00:00
Andrew Ferrier
8a36ea9f4f Test refactoring and cleanup. 2014-12-25 18:52:36 +00:00
Andrew Ferrier
f95e04fc11 Log all debug messages at logger level. 2014-12-25 18:52:36 +00:00
Andrew Ferrier
97c439da8b Stop creation of tests which call the wrong submethod. 2014-12-25 18:52:36 +00:00
Andrew Ferrier
d6904a6b86 Use freezegun to fix test_plaincontent_timedfileexist - closes 2014-12-25 18:52:36 +00:00
Andrew Ferrier
0430f122b7 Turn logging propagation off to stop erroneous console errors. 2014-12-25 17:57:25 +00:00
Andrew Ferrier
137dda315c Test refactoring. 2014-12-25 00:08:23 +00:00
Andrew Ferrier
ae7329956a Complete timing and log handlers even when direct invocation fails. 2014-12-25 00:07:51 +00:00
Andrew Ferrier
c16cb540eb Simplify getting emails as bytes. 2014-12-25 00:07:28 +00:00
Andrew Ferrier
49c78914b9 Fix hardcoded and inaccurate image URLs. 2014-12-24 23:46:19 +00:00
Andrew Ferrier
a53afdd490 Rename test files. 2014-12-22 17:16:40 +00:00
Andrew Ferrier
cac65dbab2 Add PDF content checking to test_TestMIME. 2014-12-22 17:10:34 +00:00
Andrew Ferrier
bd14ed0bd1 Add PDF content checking to test_TestBasic. 2014-12-22 16:42:01 +00:00
Andrew Ferrier
427a6cc8f5 Add PDF content checking to test_FaultyAttachments. 2014-12-22 16:27:22 +00:00
Andrew Ferrier
5c3dbd13d5 Use pdfminer3k to test body content. 2014-12-20 20:51:48 +00:00
Andrew Ferrier
cee80ced2c Move _headers into direct testing. 2014-12-20 16:51:08 +00:00
Andrew Ferrier
77087702ad Switch over to returning plain error. 2014-12-20 16:51:08 +00:00
Andrew Ferrier
d35dd05d18 Remove style issues. 2014-12-20 16:13:30 +00:00
Andrew Ferrier
3a74027e6a Introduce invokeDirectly and some Direct tests. 2014-12-20 15:59:06 +00:00
Andrew Ferrier
a6b0e1d2c2 Add additional test to validate inputFile is working correctly. 2014-12-20 14:30:30 +00:00
Andrew Ferrier
ee3e439f86 Actual output content to input file. 2014-12-20 14:29:59 +00:00
Andrew Ferrier
bb5f2d4981 Rename invokeEmail2PDF to invokeAsSubprocess. 2014-12-20 14:29:12 +00:00
Andrew Ferrier
b940db1b58 Validate stderr in tests too. 2014-12-18 22:39:39 +00:00
Andrew Ferrier
1a4e0de45e Add test for invalid CID, improve another test. 2014-12-18 22:07:31 +00:00
Andrew Ferrier
bb70a58df5 Remove duplicate test. 2014-12-18 22:07:18 +00:00
Andrew Ferrier
98db5374fd Style improvements. 2014-12-18 21:26:31 +00:00