Displaying 3 results from an estimated 3 matches for "mockito".
Did you mean:
mocking
2009 Aug 30
4
[LLVMdev] Perfect forwarding?
...gt; that have different call signatures, and you want to have some generic
> handler function that can intercept these calls and then forward each
> call to another method that has the same signature as the original call.
>
> A typical example of how this would be used is something like Mockito or
> EasyMock - you have some interface, and you dynamically create an
> implementation of that interface which is able to intercept all of the
> method calls and record the order in which they are called and the value
> of the arguments. The unit test code then performs some validation...
2009 Aug 30
1
[LLVMdev] Perfect forwarding?
...a bunch of methods
that have different call signatures, and you want to have some generic
handler function that can intercept these calls and then forward each
call to another method that has the same signature as the original call.
A typical example of how this would be used is something like Mockito or
EasyMock - you have some interface, and you dynamically create an
implementation of that interface which is able to intercept all of the
method calls and record the order in which they are called and the value
of the arguments. The unit test code then performs some validation on
the recordi...
2009 Sep 01
0
[LLVMdev] Perfect forwarding?
...natures, and you want to have some generic
>>> handler function that can intercept these calls and then forward each
>>> call to another method that has the same signature as the original call.
>>>
>>> A typical example of how this would be used is something like Mockito or
>>> EasyMock - you have some interface, and you dynamically create an
>>> implementation of that interface which is able to intercept all of the
>>> method calls and record the order in which they are called and the value
>>> of the arguments. The unit test co...