Commit graph

191 commits

Author SHA1 Message Date
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
73da6caa9f Merge branch 'release/0.1.0-RELEASE' 2015-04-08 14:15:42 +01:00
a4cca76681 README.md: add usage example
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-04-08 14:13:47 +01:00
392f388c9c pom: version set to 0.1.0-RELEASE
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2015-04-08 14:09:10 +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
2ce4366e84 Initial commit 2015-04-08 11:43:34 +01:00