Add CustomVerifier#and & CustomVerifier#andComparable methods to allow even more fluid chaining#22
Merged
Conversation
…ify & verifyComparable methods on Verifier while using a partial copy of the current Verification
neocotic
added a commit
that referenced
this pull request
Feb 11, 2017
* java8 is now the minimum supported version since java7 is post-LTS * bump to 0.2.0-SNAPSHOT * Merge branch 'develop' into java8 * improved handling of multi-dimensional arrays and circular references in DefaultArrayFormatter * Support different locales (#11) * added initial support for multiple locales * attempting to fix broken build * added initial support for multiple verification reporters (#14) * added assignableFromAll and assignableFromAny methods to ClassVerifier (#15) * Rename ClassVerifier#interfacing to ClassVerifier#interfaced (#16) * renamed interfacing method in ClassVerifier to interfaced * corrected error message for interfaced method on ClassVerifier * renamed defaulting method in LocaleVerifier to defaulted (#17) * added matchAll and matchAny methods to StringVerifier (#18) * added causedByAll and causedByAny methods to ThrowableVerifier (#19) * updated copyright year throughout * Update Crowdin configuration file * added more Formatters and simplified Verification API (#21) * added and & andComparable methods to CustomVerifier to compliment verify & verifyComparable methods on Verifier while using a partial copy of the current Verification (#22) * added crowdin badge to README * added JavaDoc badge to README * configured Codecov and added badge to README * added changelog * roll 0.2.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds complimentary methods for
Verifier#verifyandVerifier#verifyComparabletoCustomVeriferasandandandComparableto make chaining more fluid. Here's the example from the README: