Searched defs:invocations (Results 1 - 19 of 19) sorted by relevance

/external/mockito/src/org/mockito/internal/exceptions/util/
H A DScenarioPrinter.java13 public String print(List<VerificationAwareInvocation> invocations) { argument
14 if (invocations.size() == 1) {
19 "For your reference, here is the list of all invocations ([?] - means unverified).\n");
22 for (VerificationAwareInvocation i : invocations) {
/external/mockito/src/org/mockito/internal/verification/
H A DVerificationDataImpl.java19 private final InvocationContainer invocations; field in class:VerificationDataImpl
21 public VerificationDataImpl(InvocationContainer invocations, InvocationMatcher wanted) { argument
22 this.invocations = invocations;
28 return invocations.getInvocations();
H A DDefaultRegisteredInvocations.java21 private final LinkedList<Invocation> invocations = new LinkedList<Invocation>(); field in class:DefaultRegisteredInvocations
24 synchronized (invocations) {
25 invocations.add(invocation);
31 synchronized (invocations) {
32 if (! invocations.isEmpty()) {
33 invocations.removeLast();
40 synchronized (invocations) {
41 copiedList = new LinkedList<Invocation>(invocations) ;
48 synchronized (invocations) {
49 return invocations
[all...]
/external/mockito/src/org/mockito/internal/invocation/
H A DInvocationMarker.java14 public void markVerified(List<Invocation> invocations, CapturesArgumensFromInvocation wanted) { argument
15 for (Invocation invocation : invocations) {
H A DInvocationMatcher.java148 public static List<InvocationMatcher> createFrom(List<Invocation> invocations) { argument
151 for (Invocation i : invocations) {
H A DInvocationsFinder.java19 public List<Invocation> findInvocations(List<Invocation> invocations, InvocationMatcher wanted) { argument
20 return ListUtil.filter(invocations, new RemoveNotMatching(wanted));
23 public List<Invocation> findAllMatchingUnverifiedChunks(List<Invocation> invocations, InvocationMatcher wanted, InOrderContext orderingContext) { argument
24 List<Invocation> unverified = removeVerifiedInOrder(invocations, orderingContext);
31 * Given invocations sequence:
43 public List<Invocation> findMatchingChunk(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context) { argument
44 List<Invocation> unverified = removeVerifiedInOrder(invocations, context);
48 return this.findAllMatchingUnverifiedChunks(invocations, wanted, context);
66 public Invocation findFirstMatchingUnverifiedInvocation( List<Invocation> invocations, InvocationMatcher wanted, InOrderContext context ){ argument
67 for( Invocation invocation : removeVerifiedInOrder( invocations, contex
75 findSimilarInvocation(List<Invocation> invocations, InvocationMatcher wanted) argument
92 findFirstUnverified(List<Invocation> invocations) argument
96 findFirstUnverified(List<Invocation> invocations, Object mock) argument
106 getLastLocation(List<Invocation> invocations) argument
115 findPreviousVerifiedInOrder(List<Invocation> invocations, InOrderContext context) argument
125 removeVerifiedInOrder(List<Invocation> invocations, InOrderContext orderingContext) argument
[all...]
/external/mockito/src/org/mockito/internal/verification/checkers/
H A DAtLeastXNumberOfInvocationsChecker.java23 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) { argument
24 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
H A DAtLeastXNumberOfInvocationsInOrderChecker.java29 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) { argument
30 List<Invocation> chunk = finder.findAllMatchingUnverifiedChunks(invocations, wanted, orderingContext);
H A DMissingInvocationChecker.java31 public void check(List<Invocation> invocations, InvocationMatcher wanted) { argument
32 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
35 Invocation similar = finder.findSimilarInvocation(invocations, wanted);
42 reporter.wantedButNotInvoked(wanted, invocations);
H A DMissingInvocationInOrderChecker.java33 public void check(List<Invocation> invocations, InvocationMatcher wanted, VerificationMode mode, InOrderContext context) { argument
34 List<Invocation> chunk = finder.findAllMatchingUnverifiedChunks(invocations, wanted, context);
40 Invocation previousInOrder = finder.findPreviousVerifiedInOrder(invocations, context);
49 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
51 Invocation similar = finder.findSimilarInvocation(invocations, wanted);
H A DNonGreedyNumberOfInvocationsInOrderChecker.java35 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context) { argument
39 Invocation next = finder.findFirstMatchingUnverifiedInvocation( invocations, wanted, context );
H A DNumberOfInvocationsChecker.java33 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) { argument
34 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
H A DNumberOfInvocationsInOrderChecker.java34 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context) { argument
35 List<Invocation> chunk = finder.findMatchingChunk(invocations, wanted, wantedCount, context);
/external/mockito/src/org/mockito/exceptions/
H A DReporter.java269 "If you intend to verify invocations on a mock, don't use stubOnly() in its MockSettings."
310 public void wantedButNotInvoked(DescribedInvocation wanted, List<? extends DescribedInvocation> invocations) { argument
312 if (invocations.isEmpty()) {
316 for (DescribedInvocation i : invocations) {
415 public void noMoreInteractionsWanted(Invocation undesired, List<VerificationAwareInvocation> invocations) { argument
417 String scenario = scenarioPrinter.print(invocations);
/external/dexmaker/lib/
H A Dmockito-core-1.9.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...
/external/robolectric/lib/test/
H A Dmockito-core-1.8.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...
/external/chromium_org/v8/test/cctest/
H A Dtest-api.cc9097 // invocations. function g is not defined and should throw on call.
12682 // Returns the number of invocations where the caller name contains
12836 int invocations = 0; local
12856 invocations += it->second;
12859 return invocations;
12945 // We should record no invocations in this isolate.
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 270 milliseconds