[MAGNOLIA-6063] new Hamcrest Matcher to help build chaining Matchers Created: 05/Feb/15 Updated: 27/Jul/15 Resolved: 25/Feb/15 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core, testing |
| Affects Version/s: | None |
| Fix Version/s: | 5.4 |
| Type: | New Feature | Priority: | Neutral |
| Reporter: | Magnolia International | Assignee: | Magnolia International |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Description |
|
It's currently fairly difficult to build custom matchers which can be used in "chain" mode. This proposed abstract Matcher helps making this possible: dummyWithName("a").withTitle("fooTitle") Complete samples are in YamlConfigurationSourceTest and of course a concrete Matcher such as info.magnolia.config.dummy.DummyThingMatcher in the config branch. |
| Comments |
| Comment by Magnolia International [ 25/Feb/15 ] |
|
Fixed emptySeed() and added tests |