Open GoogleCodeExporter opened 9 years ago
Note: a test case for the new behavior can be found at the bottom of
http://code.google.com/r/derariii-mockito-descrmismatch/source/browse/test/org/m
ockito/internal/matchers/MatchersPrinterTest.java
Original comment by derar...@gmail.com
on 4 Jan 2013 at 12:56
Hi, thx
It might take some time but we will look at it :)
Original comment by brice.du...@gmail.com
on 8 Jan 2013 at 4:43
My custom matcher suffers the same diagnosis problem.
XStreamMatcher that matches iff
XStream.toXML(actual).equals(XStream.toXML(wanted))
BTW: Best would be, if I could use the library instead of writing my own
matcher.
The missed method could be located in Matchers and work similar as
Matchers.refEq.
@Test
public void someTest() {
someAction();
verify(mock).someCall(xstreamEq(expectedParam));
}
Original comment by frank.ne...@gmail.com
on 10 Apr 2013 at 5:05
Original comment by brice.du...@gmail.com
on 29 Apr 2013 at 4:14
Any progress on this? I would like to be able to use
verify(mock).someCall(argThat( ... )) in conjunction with my own
TypeSafeDiagnosingMatchers. Thanks!
Original comment by jplic...@gmail.com
on 4 Oct 2013 at 4:31
I;m affected by this issue. Any plans on implementing this feature?
Original comment by tomasz.k...@gmail.com
on 10 Oct 2014 at 8:57
For what it's worth: I plan to fix this soonish ...
Original comment by mz.li...@gmail.com
on 10 Oct 2014 at 9:52
Hey guys,
I encourage to contribute - create a pull request in github and it looks good
we'll merge and release shortly :)
Original comment by dorota.f...@gmail.com
on 10 Oct 2014 at 6:30
For my part (today), I've taken derariii's changes and rebased on master at
https://github.com/mockito/mockito/compare/master...skestle:derariii/409?expand=
1
Was a bit sad that nobody's pushed this. Does anybody use mockito with
hamcrest? Seems rather difficult to me.
Original comment by stephen....@gmail.com
on 10 Jun 2015 at 8:18
I also have a PR in since March: https://github.com/mockito/mockito/pull/167
I asked about the plans to include it, no responses yet.
Original comment by mz.li...@gmail.com
on 10 Jun 2015 at 8:22
Original issue reported on code.google.com by
derar...@gmail.com
on 4 Jan 2013 at 12:53