Commit graph

196 commits

Author SHA1 Message Date
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
3fcd5450bf Merge branch 'release/0.2.0'
* release/0.2.0:
  pom.xml: version set to 0.2.0
  README.adoc: add documentation for Value
  Value: clean up unneeded generics type parameters
  Value: add javadoc
  ValueTest: remove ambiguity on then() and otherwise() parameters
  Value: rewrite using strong chaining logic
  Value: add initial implementation
  ConditionalTest: more tests for whereNot(), andNot() and orNot()
  Condition: remove use of 'if' internaly
  ConditionalTest: more tests
  ConditionalTest: clean up helper methods
  pom.xml: version set to 0.2.0-SNAPSHOT
2017-04-23 21:45:06 +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
14c494ffdd Condition: remove unnecessare object instantiation
Only one each, true and false, Condition object needed.
2017-04-21 14:38:12 +01:00
870c3c2b00 README.adoc: fix typo 2017-04-21 14:30:55 +01:00
29232d4e71 Condition: overload otherwise to allow if-then-else-if behaviour 2017-04-21 14:28:54 +01:00
cf404b716b README.adoc: added 2017-04-21 12:17:18 +01:00
fe355a3850 Condition: add whereNot(), andNot() and orNot() 2017-04-21 12:16:54 +01:00
0fbb4f62b6 Initial commit 2017-04-21 10:55:11 +01:00