/external/mockito/src/org/mockito/internal/verification/api/ |
InOrderContext.java | 7 import org.mockito.invocation.Invocation;
11 boolean isVerified(Invocation invocation);
13 void markVerified(Invocation i);
|
VerificationDataInOrderImpl.java | 9 import org.mockito.internal.invocation.InvocationMatcher;
10 import org.mockito.invocation.Invocation;
15 private final List<Invocation> allInvocations;
18 public VerificationDataInOrderImpl(InOrderContext inOrder, List<Invocation> allInvocations, InvocationMatcher wanted) {
24 public List<Invocation> getAllInvocations() {
|
VerificationData.java | 9 import org.mockito.internal.invocation.InvocationMatcher;
10 import org.mockito.invocation.Invocation;
14 List<Invocation> getAllInvocations();
|
VerificationDataInOrder.java | 9 import org.mockito.internal.invocation.InvocationMatcher;
10 import org.mockito.invocation.Invocation;
14 List<Invocation> getAllInvocations();
|
/external/mockito/src/org/mockito/internal/invocation/ |
CapturesArgumensFromInvocation.java | 5 package org.mockito.internal.invocation;
8 import org.mockito.invocation.Invocation;
12 void captureArgumentsFrom(Invocation i);
|
InvocationsFinder.java | 6 package org.mockito.internal.invocation; 14 import org.mockito.invocation.Invocation; 15 import org.mockito.invocation.Location; 19 public List<Invocation> findInvocations(List<Invocation> invocations, InvocationMatcher wanted) { 23 public List<Invocation> findAllMatchingUnverifiedChunks(List<Invocation> invocations, InvocationMatcher wanted, InOrderContext orderingContext) { 24 List<Invocation> unverified = removeVerifiedInOrder(invocations, orderingContext); 43 public List<Invocation> findMatchingChunk(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrde (…) [all...] |
InvocationMarker.java | 5 package org.mockito.internal.invocation;
10 import org.mockito.invocation.Invocation;
14 public void markVerified(List<Invocation> invocations, CapturesArgumensFromInvocation wanted) {
15 for (Invocation invocation : invocations) {
16 markVerified(invocation, wanted);
20 public void markVerified(Invocation invocation, CapturesArgumensFromInvocation wanted) {
21 invocation.markVerified(); [all...] |
UnusedStubsFinder.java | 6 package org.mockito.internal.invocation; 11 import org.mockito.invocation.Invocation; 22 public List<Invocation> find(List<?> mocks) { 23 List<Invocation> unused = new LinkedList<Invocation>();
|
InvocationMatcher.java | 6 package org.mockito.internal.invocation; 19 import org.mockito.invocation.DescribedInvocation; 20 import org.mockito.invocation.Invocation; 21 import org.mockito.invocation.Location; 27 private final Invocation invocation; field in class:InvocationMatcher 30 public InvocationMatcher(Invocation invocation, List<Matcher> matchers) { 31 this.invocation = invocation [all...] |
MatchersBinder.java | 6 package org.mockito.internal.invocation; 12 import org.mockito.invocation.Invocation; 22 public InvocationMatcher bindMatchers(ArgumentMatcherStorage argumentMatcherStorage, Invocation invocation) { 24 validateMatchers(invocation, lastMatchers); 26 InvocationMatcher invocationWithMatchers = new InvocationMatcher(invocation, (List<Matcher>)(List) lastMatchers); 30 private void validateMatchers(Invocation invocation, List<LocalizedMatcher> lastMatchers) { 33 int expectedMatchersSize = invocation.getArguments().length [all...] |
/external/mockito/src/org/mockito/internal/invocation/finder/ |
AllInvocationsFinder.java | 6 package org.mockito.internal.invocation.finder; 10 import org.mockito.invocation.Invocation; 22 public List<Invocation> find(List<?> mocks) { 23 Set<Invocation> invocationsInOrder = new TreeSet<Invocation>(new SequenceNumberComparator()); 26 List<Invocation> fromSingleMock = handler.getInvocationContainer().getInvocations(); 30 return new LinkedList<Invocation>(invocationsInOrder); 33 private final class SequenceNumberComparator implements Comparator<Invocation> { 34 public int compare(Invocation o1, Invocation o2) [all...] |
VerifiableInvocationsFinder.java | 6 package org.mockito.internal.invocation.finder; 9 import org.mockito.invocation.Invocation; 18 public List<Invocation> find(List<?> mocks) { 19 List<Invocation> invocations = new AllInvocationsFinder().find(mocks); 23 static class RemoveIgnoredForVerification implements ListUtil.Filter<Invocation>{ 24 public boolean isOut(Invocation i) {
|
/external/mockito/src/org/mockito/internal/stubbing/ |
InvocationContainer.java | 7 import org.mockito.invocation.Invocation;
13 List<Invocation> getInvocations();
|
/external/mockito/src/org/mockito/internal/verification/ |
SingleRegisteredInvocation.java | 8 import org.mockito.invocation.Invocation; 16 private Invocation invocation; field in class:SingleRegisteredInvocation 18 public void add(Invocation invocation) { 19 this.invocation = invocation; 23 invocation = null; 26 public List<Invocation> getAll() [all...] |
InOrderContextImpl.java | 9 import org.mockito.invocation.Invocation;
15 public boolean isVerified(Invocation invocation) {
16 return verified.contains(invocation);
19 public void markVerified(Invocation i) {
|
RegisteredInvocations.java | 11 import org.mockito.invocation.Invocation; 18 void add(Invocation invocation); 22 List<Invocation> getAll();
|
DefaultRegisteredInvocations.java | 11 import org.mockito.invocation.Invocation; 21 private final LinkedList<Invocation> invocations = new LinkedList<Invocation>(); 23 public void add(Invocation invocation) { 25 invocations.add(invocation); 38 public List<Invocation> getAll() { 39 List<Invocation> copiedList; 41 copiedList = new LinkedList<Invocation>(invocations) [all...] |
/external/mockito/src/org/mockito/internal/debugging/ |
FindingsListener.java | 7 import org.mockito.internal.invocation.InvocationMatcher;
8 import org.mockito.invocation.Invocation;
11 void foundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed);
13 void foundUnusedStub(Invocation unused);
|
WarningsFinder.java | 7 import org.mockito.internal.invocation.InvocationMatcher;
8 import org.mockito.invocation.Invocation;
16 private final List<Invocation> baseUnusedStubs;
19 public WarningsFinder(List<Invocation> unusedStubs, List<InvocationMatcher> allInvocations) {
25 List<Invocation> unusedStubs = new LinkedList(this.baseUnusedStubs);
28 Iterator<Invocation> unusedIterator = unusedStubs.iterator();
30 Invocation unused = unusedIterator.next();
42 for (Invocation i : unusedStubs) {
|
LoggingListener.java | 7 import org.mockito.internal.invocation.InvocationMatcher;
9 import org.mockito.invocation.Invocation;
22 public void foundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed) {
31 public void foundUnusedStub(Invocation unused) {
|
WarningsPrinterImpl.java | 9 import org.mockito.internal.invocation.InvocationMatcher;
12 import org.mockito.invocation.Invocation;
19 public WarningsPrinterImpl(List<Invocation> unusedStubs, List<InvocationMatcher> unstubbedInvocations) {
23 public WarningsPrinterImpl(List<Invocation> unusedStubs, List<InvocationMatcher> allInvocations, boolean warnAboutUnstubbed) {
|
/external/mockito/src/org/mockito/invocation/ |
MockHandler.java | 5 package org.mockito.invocation;
12 * Mockito handler of an invocation on a mock. This is a core part of the API, the heart of Mockito.
21 * Takes an invocation object and handles it.
27 * @param invocation The invocation to handle
32 Object handle(Invocation invocation) throws Throwable;
|
/external/mockito/src/org/mockito/internal/verification/checkers/ |
AtLeastXNumberOfInvocationsChecker.java | 11 import org.mockito.internal.invocation.InvocationMatcher; 12 import org.mockito.internal.invocation.InvocationMarker; 13 import org.mockito.internal.invocation.InvocationsFinder; 14 import org.mockito.invocation.Invocation; 15 import org.mockito.invocation.Location; 23 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) { 24 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
|
MissingInvocationInOrderChecker.java | 11 import org.mockito.internal.invocation.InvocationMatcher; 12 import org.mockito.internal.invocation.InvocationsFinder; 16 import org.mockito.invocation.Invocation; 33 public void check(List<Invocation> invocations, InvocationMatcher wanted, VerificationMode mode, InOrderContext context) { 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);
|
/external/mockito/src/org/mockito/internal/progress/ |
MockingProgress.java | 10 import org.mockito.invocation.Invocation; 26 void stubbingCompleted(Invocation invocation);
|