Commit graph

56 commits

Author SHA1 Message Date
9cccc396be Add CODECOV_REPO_TOKEN 2018-02-23 19:44:55 +00:00
c6e19005ff Prevent Codecov from breaking the build 2018-02-23 19:25:45 +00:00
7d9f3aebae Use jenkins version for codecov 2018-02-23 19:20:49 +00:00
ff3ab06d90 Publish Codecov first to check if that works okay 2018-02-23 19:14:40 +00:00
78e7cff5f5 Add jenkins stages for coverage and deployment 2018-02-23 18:50:56 +00:00
dec715a5cb Upgrade kemitix-parent to 5.0.3 2018-02-23 18:36:28 +00:00
9703dddbbc Simplify Jenkins checkout 2018-02-23 17:01:20 +00:00
69cb93ca1e Add Jenkinsfile 2018-02-22 22:37:51 +00:00
91bb2adc0f Merge pull request #7 from kemitix/value-with-suppliers
Value: add where() with Supplier<T> parameters
2017-08-26 23:15:37 +01:00
d9e3401658 Value: add missing javadoc 2017-08-26 23:11:10 +01:00
a1d9f17faf Value: add where() with Supplier<T> parameters
* Add `<T> Value.where(boolean, Supplier<T>, Supplier<T>)`
* Add `Optional<T> Value.where(boolean, Supplier<T>)`
2017-08-26 23:03:13 +01:00
03eb1398bd Merge pull request #6 from kemitix/value-deadlock-fix
Value: Avoid danger of JVM-level deadlock during initialisation
2017-08-26 21:20:51 +01:00
844ba49c76 Value: Avoid danger of JVM-level deadlock during initialisation 2017-08-26 20:39:39 +01:00
218aebc3fb Merge pull request #5 from kemitix/travis-support
.travis-support: added
2017-08-26 19:31:16 +01:00
e448350d14 Merge branch 'develop' into travis-support 2017-08-26 19:27:15 +01:00
cb1d03a553 *.yml: added circle and wercker config 2017-08-26 19:27:00 +01:00
06c4f9b7c9 Merge pull request #4 from kemitix/safe-initialisation
Condition: avoid danger of JVM-level deadlock during initialisation
2017-08-26 19:25:06 +01:00
3b7d3435cf .travis-support: added 2017-08-26 19:23:52 +01:00
62e4d56c9a Condition: avoid danger of JVM-level deadlock during initialisation 2017-08-26 19:14:24 +01:00
5cd4f5e78a CHANGELOG 2017-08-26 18:34:03 +01:00
767b966d1a ValueTest: use val and have assertions in tests
Codacy's PMD check 'JUnit tests should include assert() or fail()'
insists on the assert being in the actual test method itself.
2017-08-26 18:34:03 +01:00
49fb39d297 pom.xml: set jacoco and pitest to maximum strictness 2017-08-26 16:50:56 +01:00
c7141ebd94 pom.xml: upgrade assertj to 3.8.0 2017-08-26 16:50:56 +01:00
3539f94d5d pom.xml: upgrade kemitix-{parent,checkstyle-ruleset} to 3.2.0 2017-08-26 16:50:56 +01:00
d0408de861 mvnw: add maven wrapper 2017-08-26 16:41:47 +01:00
ce39a2309c README.md: clean up Badges 2017-08-26 16:41:47 +01:00
a78f6de32b ConditionalTest: tidy up 2017-08-26 16:41:47 +01:00
fd947df855 ConditionalTest: helper methods to 'asserThat...' 2017-08-26 16:41:47 +01:00
3e86a62de1 Condition.TrueCondition.otherwise: comment that it does nothing 2017-08-26 16:41:47 +01:00
0311dd1056 README.adoc: add codacy badge 2017-08-26 16:41:47 +01:00
357335779e Value: cache True/FalseValueClauses
Rather than create a new transient object every time when they can be
stateless singletons.
2017-04-24 13:35:02 +01:00
07f4af3425 Value: use lombok to replace constructor 2017-04-24 13:34:36 +01:00
09ae3b0257 README.adoc: add version badge
Fix intradocument links.
2017-04-24 07:02:07 +01:00
ca272d32e7 Merge branch 'release/0.2.0' into develop
* release/0.2.0:
  pom.xml: version set to 0.3.0-SNAPSHOT
  pom.xml: version set to 0.2.0
2017-04-23 21:45:50 +01:00
66f61f40a9 pom.xml: version set to 0.3.0-SNAPSHOT 2017-04-23 21:45:42 +01:00
75c63562d8 pom.xml: version set to 0.2.0 2017-04-23 21:44:55 +01:00
5dcd67b862 README.adoc: add documentation for Value
Also add badges for build status and code coverage.
2017-04-23 21:37:22 +01:00
47d0b8f78d Value: clean up unneeded generics type parameters 2017-04-23 17:55:08 +01:00
ce42e9dcbe Value: add javadoc 2017-04-23 17:52:15 +01:00
6a5ac40f47 ValueTest: remove ambiguity on then() and otherwise() parameters
Both are Supplier<T>.
2017-04-23 17:14:46 +01:00
06c9487eea Value: rewrite using strong chaining logic
Return values from each step restrict next chained method(s) available.
2017-04-23 17:11:37 +01:00
598f69a65b Value: add initial implementation 2017-04-23 16:53:30 +01:00
22c23e7e4a ConditionalTest: more tests for whereNot(), andNot() and orNot() 2017-04-22 07:47:01 +01:00
dcf1847def Condition: remove use of 'if' internaly
By using a look-up map for true and false the only branch in the code
is removed.
2017-04-22 07:40:40 +01:00
826dcc17ca ConditionalTest: more tests 2017-04-21 18:37:14 +01:00
ca49a94a7d ConditionalTest: clean up helper methods 2017-04-21 18:10:14 +01:00
419b298f5b pom.xml: version set to 0.2.0-SNAPSHOT 2017-04-21 14:46:18 +01:00
a63b9f9424 pom.xml: version set to 0.1.0 2017-04-21 14:45:28 +01:00
ebf8b52138 .travis.yml: add TravisCI configuration 2017-04-21 14:42:45 +01:00
0cbe234321 pom.xml: add coveralls reporting plugin 2017-04-21 14:42:28 +01:00