bean-matchers
bean-matchers copied to clipboard
Extended HasValidGettersAndSettersExcludingMatcher by exclusion of asymmetric method accessors
This PR extends the exclusion capabilities of HasValidGettersAndSettersExcludingMatcher. The new flag excludeAsynmmetricAccessors excludes properties if one of the accessor is missing and circumvents AccessorMissingException.
Codecov Report
Merging #129 (ffec60f) into main (a7a2b69) will increase coverage by
0.08%. The diff coverage is100.00%.
@@ Coverage Diff @@
## main #129 +/- ##
==========================================
+ Coverage 96.88% 96.96% +0.08%
==========================================
Files 38 38
Lines 481 495 +14
Branches 44 47 +3
==========================================
+ Hits 466 480 +14
Misses 14 14
Partials 1 1
| Impacted Files | Coverage Δ | |
|---|---|---|
| ...a/com/google/code/beanmatchers/BeanOperations.java | 77.27% <100.00%> (+2.27%) |
:arrow_up: |
| ...ers/HasValidGettersAndSettersExcludingMatcher.java | 100.00% <100.00%> (ø) |
|
| ...in/java/com/google/code/beanmatchers/JavaBean.java | 100.00% <100.00%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
@hsynkrtl Thanks for the pull request. Do you mind updating the PR description? I'd love to understand the problem this change seeks to resolve.