OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ArgumentCaptor
(Results
1 - 6
of
6
) sorted by null
/external/littlemock/src/com/google/testing/littlemock/
ArgumentCaptor.java
28
public interface
ArgumentCaptor
<T extends Object> extends LittleMock.ArgumentMatcher {
/external/mockito/src/org/mockito/
ArgumentCaptor.java
22
*
ArgumentCaptor
<Person> argument =
ArgumentCaptor
.forClass(Person.class);
28
* <strong>Warning:</strong> it is recommended to use
ArgumentCaptor
with verification <strong>but not</strong> with stubbing.
29
* Using
ArgumentCaptor
with stubbing may decrease test readability because captor is created outside of assert (aka verify or 'then') block.
33
* In a way
ArgumentCaptor
is related to custom argument matchers (see javadoc for {@link ArgumentMatcher} class).
35
* However,
ArgumentCaptor
may be a better fit if:
55
public class
ArgumentCaptor
<T> {
66
* <b>Please use factory method {@link
ArgumentCaptor
#forClass(Class)} to create captors</b>
73
*
ArgumentCaptor
<Person> argument =
ArgumentCaptor
.forClass(Person.class);
[
all
...]
/external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar
/external/robolectric/v1/lib/test/
mockito-core-1.8.5.jar
/prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/
mockito-all-1.9.5.jar
/prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.9.5/
mockito-core-1.9.5.jar
Completed in 737 milliseconds