fbe8d06332
Upgrade JUnit 4.13 to 5.6.1 ( #86 )
...
* Upgrade JUnit 4.13 to 5.6.1
* Test build with JDK 13
* Revert "Test build with JDK 13"
This reverts commit a5f0acfb91d17373fca943f19ecf4b32ab8ca02a.
2020-03-23 13:13:57 +00:00
0d987fb6fb
Bump kemitix depedencies and convert changelog to org-mode ( #49 )
...
* Bump kemitix-checkstyle-ruleset from 4.1.1 to 5.2.0
* Bump kemitix-maven-tiles from 0.9.0 to 2.0.0
* [changelog] reformat in org-mode
* [changelog] update for next-release
* [jenkins] remove sonarcloud
* Bump kemitix-checkstyle from 5.2.0 to 5.3.2
* Bump kemitix-maven-tiles form 2.0.0 to 2.1.1
* Suppress spotbugs warnings about softening checked exceptions
* [changelog] adjust heading levels and update next release
* Bump kemitix-maven-tiles from 2.1.1 to 2.1.2
2019-01-09 00:03:24 +00:00
dependabot[bot]
5802bf729e
Bump mon from 1.2.0 to 2.0.0 ( #43 )
2018-10-15 21:13:17 +00:00
Paul Campbell
e622a1b641
Tidy up and refactoring
2018-09-01 15:24:40 +01:00
f6204d8c3f
WiserAssertions.findFirstOrElseThrow() returns the found message
2018-08-25 12:38:53 +01:00
1d43956263
[testing] Rename getAssertions() as assertReceivedMessage()
...
Commands read more like the assertions they are.
2018-08-25 08:34:03 +01:00
0f6af785a5
Don't throw generic exceptions
2018-08-25 08:20:33 +01:00
8cdfd62dfb
Use a variable free port for test mail server
2018-08-24 19:48:13 +01:00
76022b8877
Upgrade kemitix-parent to 5.1.1 to bring Java 9+ compatibility
2018-08-23 22:05:23 +01:00
235ea47957
Update code style and reorganise methods
2016-06-02 21:13:39 +01:00
d20322cc65
WiserAssertions: suppress checkstyle rule IllegalThrows
2016-06-02 20:56:22 +01:00
af4b48e212
WiserAssertions: suppress checkstyle rule IllegalCatch
2016-06-02 20:55:35 +01:00
cef89074ef
WiserAssertions: apply rule ReturnCount
2016-06-02 20:53:47 +01:00
97d67cb557
WiserAssertions: apply checkstyle rule MultipleStringLiterals
2016-06-02 20:53:47 +01:00
79032c0dd8
WiserAssertions: apply checkstyle rule DeclarationOrder
2016-06-02 20:46:39 +01:00
b30289aca2
pom.xml: Upgrade to test with simple-java-mail 3.0.0
...
In simple-java-mail the Email class has been moved into the 'email' package,
thus the Issue1Test had to be updated. This doesn't affect how
wiser-assertions is used.
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-03-05 15:07:59 +00:00
eff6e6c0b3
WiserAssertions.getMimeMessageBody: accept that content may be a String
...
Spring's SimpleMailMessage doesn't wrap it's email body in a mime content
type as it is just a 'simple' mail message.
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-02-16 22:55:38 +00:00
146f53e404
AbstractWiserTest: always create a new Session for each test
...
Otherwise properties are ignored on subsequent calls.
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-02-16 22:53:44 +00:00
06c48f4444
AbstractWiserTest: fix refactoring artifact and use constant directly
...
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-02-16 22:52:21 +00:00
a11b2fcdd4
Issue6Test: assert from, to and withSubject to match submitted issue
...
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-02-16 22:51:31 +00:00
311eda0299
Issue6Test: add regression test for issue 6
...
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-02-16 22:26:31 +00:00
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