Commit graph

206 commits

Author SHA1 Message Date
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
850d9948ad Merge branch 'upgrade-kemitix-parent-to-0.7.1' into develop
* upgrade-kemitix-parent-to-0.7.1:
  pom.xml: Upgrade kemitix-parent to 0.7.1
2016-02-16 21:42:54 +00:00
6b7ea83051 pom.xml: Upgrade kemitix-parent to 0.7.1
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-02-16 21:42:27 +00:00
cbb3b12832 Merge branch release/0.3.0 into master
Add support for nested multi-part emails [jonjo-manywho] [#1]

Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-01-25 13:28:47 +00:00
209c33df01 Merge branch release/0.3.0 into develop
Add support for nested multi-part emails [jonjo-manywho] [#1]

Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-01-25 13:28:47 +00:00
b9c6226245 pom.xml: version set to 0.4.0-SNAPSHOT
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-01-25 13:28:47 +00:00
78738e83ed CHANGELOG
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-01-25 13:28:46 +00:00
b7b5e1d74f pom.xml: version set to 0.3.0
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-01-25 13:28:46 +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
6b866a0ddd Merge pull request #4 from jonjo-manywho/issue-1-nested-multipart-mails
Issue #1: Add support for nested multipart messages
2016-01-25 13:09:07 +00:00
Jonjo McKay
d624902cfd Issue #1: Add support for nested multipart messages 2016-01-25 13:03:42 +00:00
4f8fbe50c5 Merge pull request #3 from kemitix/switch-to-kemitix-parent
Switch to kemitix-parent as parent pom
2016-01-25 12:26:08 +00:00
8aa0f2c1c5 checkstyle.xml: updated to be slightly less strict
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-01-25 12:16:57 +00:00
911c0dd3b3 WiserAssertionsTest: fix line wrapping
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2016-01-25 12:11:42 +00:00
ebba0760c4 pom.xml: switch parent to kemitix-parent
Need to specify versions for junit and mockito-core ourselves now.
2016-01-25 12:11:21 +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
Paul Campbell
7b9f291be1 Merge branch release/0.2.0 into master
4d01349 Add tests with improved conversion of MIME Multipart messages to string
d72ca46 Apply Checkstyle formatting (modified sun_checks) rules and add javadoc

Signed-off-by: Paul Campbell <paulcampbell@fife.ac.uk>
2015-10-22 09:40:44 +01:00
Paul Campbell
c1acc0480b Merge branch release/0.2.0 into develop
4d01349 Add tests with improved conversion of MIME Multipart messages to string
d72ca46 Apply Checkstyle formatting (modified sun_checks) rules and add javadoc

Signed-off-by: Paul Campbell <paulcampbell@fife.ac.uk>
2015-10-22 09:40:44 +01:00
Paul Campbell
eb43104c44 CHANGELOG
Signed-off-by: Paul Campbell <paulcampbell@fife.ac.uk>
2015-10-22 09:40:44 +01:00
Paul Campbell
7e4ec09f35 pom.xml: version set to 0.3.0-SNAPSHOT
Signed-off-by: Paul Campbell <paulcampbell@fife.ac.uk>
2015-10-22 09:40:44 +01:00
Paul Campbell
992d1b3a23 pom.xml: version set to 0.2.0
Signed-off-by: Paul Campbell <paulcampbell@fife.ac.uk>
2015-10-22 09:40:44 +01:00
Paul Campbell
7f1093db3b CHANGELOG: added
Signed-off-by: Paul Campbell <paulcampbell@fife.ac.uk>
2015-10-22 09:38:04 +01:00
4d01349528 Merge branch 'feature/add-tests' into develop 2015-10-21 23:03:58 +01:00
bee688fe9f WiserAssertionsTest: added
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-10-21 23:03:46 +01:00
1215fe8fa9 pom.xml: add junit and mockito-core dependencies for testing
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-10-21 23:03:36 +01:00
9cd5b0c69c pom.xml: Upgrade kemitix-spring-parent to 1.2.1
This gives us:

* Build is no longer platform dependent
* Upgrade maven plugins: surefire, surefire-report and failsafe to 2.19
* Upgrade maven plugin checkstyle to 2.17

Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-10-21 23:03:12 +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
5fe7ec7cc4 .travis.yml: specify oraclejdk8 for CI testing 2015-10-21 22:55:36 +01:00
Paul Campbell
45affed46e .travis.yml: add travis config
Signed-off-by: Paul Campbell <paulcampbell@fife.ac.uk>
2015-10-16 15:49:06 +01:00
d72ca46684 Merged #1 "Apply Checkstyle" 2015-10-16 15:47:41 +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
Paul Campbell
cd1f645bd4 checkstyle.xml: add customised version of sun_checks
Signed-off-by: Paul Campbell <paulcampbell@fife.ac.uk>
2015-10-16 15:45:55 +01:00
b55e116798 pom.xml: use net.kemitix:kemitix-spring-parent as parent pom
(It's not just for spring)

Signed-off-by: Paul Campbell <paulcampbell@fife.ac.uk>
2015-10-16 15:45:43 +01:00
Paul Campbell
d89121ad8b nb-configuration.xml: add netbeans formatting rules
Signed-off-by: Paul Campbell <paulcampbell@fife.ac.uk>
2015-10-16 15:45:35 +01:00
05b1307dfa README.md: note original author in README
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-08-26 21:55:10 +01:00
b7abdbf2fb pom: upgrade maven-javadoc-plugin to 2.10.3
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-04-22 16:48:45 +01:00
571f36621c Merge tag '0.1.1' into develop
* upgrade dependencies
* specify build plugin versions
2015-04-15 12:07:06 +01:00
9bd098694a Merge branch 'release/0.1.1' 2015-04-15 12:06:45 +01:00
e51b70b426 pom: version set to 0.1.1
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-04-15 12:06:34 +01:00
f31ac38344 pom: specify explicit versions for build plugins
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-04-15 12:03:38 +01:00
40001a21d9 pom: upgrade javax.mail:mail dependency to 1.4.7
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-04-15 11:54:29 +01:00
b0a8a9e699 Merge tag '0.1.0-RELEASE' into develop
0.1.0-RELEASE
2015-04-08 14:15:51 +01:00