-
henri_tremblay committed revision 89 to the EasyMock SVN repository, changing 4 files.
2009-11-05 00:08:50 UTC in EasyMock
-
henri_tremblay committed revision 88 to the EasyMock SVN repository, changing 1 files.
2009-11-05 00:06:56 UTC in EasyMock
-
The fix needs to be done in EasyMock itself but the issue occurs in fact in the class extension.
2009-11-04 23:59:03 UTC in EasyMock
-
If a protected method is mocked and then the result is delegated to an implementation, the call fails.
Something like below in Result.DelegatingAnswer should do the trick
Method m = invocation.getMethod();
m.setAccessible(true);
return m.invoke(value, invocation.getArguments());.
2009-11-03 13:30:02 UTC in EasyMock
-
Submitted by virtualwarp
I have an issue when testing code that has a try-finally block.
When I run a test for code containing a try-finally block, easymock
reports the last unexpected call. If an expectation in the try-block fails,
the expectation in the finally-block will also fail. Since the last failure
is reported, the original reason for the failure is no longer visible...
2009-10-12 21:15:40 UTC in EasyMock
-
Hi. No it's not the same thing. You've encounter a standard issue with finally. If the finally clause throws an exception, you loose the original one. And yes, that can bring to a nasty debugging session.
However, I think EasyMock can workaround that by knowing it is currently throwing an exception and so rethrowing it in the finally. I'll enter a new requested feature about it (but I don't...
2009-10-12 21:13:03 UTC in EasyMock
-
henri_tremblay committed revision 87 to the EasyMock SVN repository, changing 1 files.
2009-10-09 23:04:29 UTC in EasyMock
-
henri_tremblay committed revision 86 to the EasyMock SVN repository, changing 2 files.
2009-10-03 15:45:12 UTC in EasyMock
-
henri_tremblay committed revision 85 to the EasyMock SVN repository, changing 3 files.
2009-10-01 23:29:32 UTC in EasyMock
-
henri_tremblay committed revision 84 to the EasyMock SVN repository, changing 1 files.
2009-09-30 22:16:53 UTC in EasyMock