Commit graph

14 commits

Author SHA1 Message Date
e9adcbb872 Merge pull request #5 from kemitix/issue-1-nested-multipart-mails
Issue #1: Add support for nested multipart messages
2016-01-25 13:24:53 +00:00
04870102a2 Normalise formatting (comments and white space only).
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-01-25 13:20:31 +00:00
Jonjo McKay
d624902cfd Issue #1: Add support for nested multipart messages 2016-01-25 13:03:42 +00:00
911c0dd3b3 WiserAssertionsTest: fix line wrapping
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-01-25 12:11:42 +00:00
986daedfb1 Issue1Test: add draft test for nested multipart messages
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-01-25 11:54:28 +00:00
262283d628 Refactor common elements of testing to AbstractWiserTest
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-01-25 11:53:37 +00:00
bee688fe9f WiserAssertionsTest: added
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-10-21 23:03:46 +01:00
14cc99fd88 WiserAssertions: improve conversion of mime Multipart message to string
Previously the message was written to an output stream. Headers and mime
boundaries included. Assertions which use this method are looking at the
content of the message, rather than the wrappings.

Now we just look at the content of the multiparts.

Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-10-21 23:01:45 +01:00
Paul Campbell
794d37e72c WiserAssertions: avoid using default characterset
Signed-off-by: Paul Campbell <paulcampbell@fife.ac.uk>
2015-10-16 15:46:57 +01:00
Paul Campbell
c305cd4371 WiserAssertions: convert messageBody content without using casting
Signed-off-by: Paul Campbell <paulcampbell@fife.ac.uk>
2015-10-16 15:46:57 +01:00
42b77c3565 WiserAssertions: add javadoc to make compliant with checkstyle
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-10-16 15:46:57 +01:00
54360df68b package-info.java: added
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-10-16 15:45:55 +01:00
f2a07079b8 Support MimeMultipart messages when checking content
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-04-08 14:07:17 +01:00
d2f623f33c Initial import
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-04-08 11:51:50 +01:00