Searched refs:Invocation (Results 1 - 25 of 118) sorted by relevance

12345

/external/mockito/src/org/mockito/internal/verification/api/
H A DInOrderContext.java7 import org.mockito.invocation.Invocation;
11 boolean isVerified(Invocation invocation);
13 void markVerified(Invocation i);
H A DVerificationDataInOrderImpl.java10 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() {
H A DVerificationData.java10 import org.mockito.invocation.Invocation;
14 List<Invocation> getAllInvocations();
H A DVerificationDataInOrder.java10 import org.mockito.invocation.Invocation;
14 List<Invocation> getAllInvocations();
/external/mockito/src/org/mockito/internal/invocation/
H A DCapturesArgumensFromInvocation.java8 import org.mockito.invocation.Invocation;
12 void captureArgumentsFrom(Invocation i);
H A DInvocationsFinder.java14 import org.mockito.invocation.Invocation;
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, InOrderContext context) {
44 List<Invocation> unverified = removeVerifiedInOrder(invocations, context);
45 List<Invocation> firstChun
[all...]
H A DInvocationMarker.java10 import org.mockito.invocation.Invocation;
14 public void markVerified(List<Invocation> invocations, CapturesArgumensFromInvocation wanted) {
15 for (Invocation invocation : invocations) {
20 public void markVerified(Invocation invocation, CapturesArgumensFromInvocation wanted) {
25 public void markVerifiedInOrder(List<Invocation> chunk, CapturesArgumensFromInvocation wanted, InOrderContext context) {
28 for (Invocation i : chunk) {
H A DUnusedStubsFinder.java11 import org.mockito.invocation.Invocation;
22 public List<Invocation> find(List<?> mocks) {
23 List<Invocation> unused = new LinkedList<Invocation>();
H A DInvocationMatcher.java20 import org.mockito.invocation.Invocation;
27 private final Invocation invocation;
30 public InvocationMatcher(Invocation invocation, List<Matcher> matchers) {
39 public InvocationMatcher(Invocation invocation) {
47 public Invocation getInvocation() {
59 public boolean matches(Invocation actual) {
77 public boolean hasSimilarMethod(Invocation candidate) {
95 public boolean hasSameMethod(Invocation candidate) {
120 public void captureArgumentsFrom(Invocation invocation) {
141 private boolean isVariableArgument(Invocation invocatio
[all...]
H A DMatchersBinder.java12 import org.mockito.invocation.Invocation;
22 public InvocationMatcher bindMatchers(ArgumentMatcherStorage argumentMatcherStorage, Invocation invocation) {
30 private void validateMatchers(Invocation invocation, List<LocalizedMatcher> lastMatchers) {
/external/mockito/src/org/mockito/internal/invocation/finder/
H A DAllInvocationsFinder.java10 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) {
H A DVerifiableInvocationsFinder.java9 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/
H A DInvocationContainer.java7 import org.mockito.invocation.Invocation;
13 List<Invocation> getInvocations();
/external/mockito/src/org/mockito/internal/verification/
H A DSingleRegisteredInvocation.java8 import org.mockito.invocation.Invocation;
16 private Invocation invocation;
18 public void add(Invocation invocation) {
26 public List<Invocation> getAll() {
H A DInOrderContextImpl.java9 import org.mockito.invocation.Invocation;
15 public boolean isVerified(Invocation invocation) {
19 public void markVerified(Invocation i) {
H A DRegisteredInvocations.java11 import org.mockito.invocation.Invocation;
18 void add(Invocation invocation);
22 List<Invocation> getAll();
H A DDefaultRegisteredInvocations.java11 import org.mockito.invocation.Invocation;
21 private final LinkedList<Invocation> invocations = new LinkedList<Invocation>();
23 public void add(Invocation invocation) {
38 public List<Invocation> getAll() {
39 List<Invocation> copiedList;
41 copiedList = new LinkedList<Invocation>(invocations) ;
53 private static class RemoveToString implements Filter<Invocation> {
54 public boolean isOut(Invocation invocation) {
/external/mockito/src/org/mockito/internal/debugging/
H A DFindingsListener.java8 import org.mockito.invocation.Invocation;
11 void foundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed);
13 void foundUnusedStub(Invocation unused);
H A DWarningsFinder.java8 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) {
H A DLoggingListener.java9 import org.mockito.invocation.Invocation;
22 public void foundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed) {
31 public void foundUnusedStub(Invocation unused) {
H A DWarningsPrinterImpl.java12 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/
H A DMockHandler.java32 Object handle(Invocation invocation) throws Throwable;
/external/mockito/src/org/mockito/internal/verification/checkers/
H A DAtLeastXNumberOfInvocationsChecker.java14 import org.mockito.invocation.Invocation;
23 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) {
24 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
H A DMissingInvocationInOrderChecker.java16 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/clang/include/clang/Frontend/
H A DCompilerInstance.h70 IntrusiveRefCntPtr<CompilerInvocation> Invocation; member in class:clang::CompilerInstance
198 /// @name Compiler Invocation and Options
201 bool hasInvocation() const { return Invocation != nullptr; }
204 assert(Invocation && "Compiler instance has no invocation!");
205 return *Invocation;
225 return Invocation->getAnalyzerOpts();
229 return Invocation->getCodeGenOpts();
232 return Invocation->getCodeGenOpts();
236 return Invocation->getDependencyOutputOpts();
239 return Invocation
[all...]

Completed in 1500 milliseconds

12345