/external/mockito/src/org/mockito/internal/invocation/ |
D | InvocationsFinder.java | 14 import org.mockito.invocation.Invocation; 19 … public List<Invocation> findInvocations(List<Invocation> invocations, InvocationMatcher wanted) { in findInvocations() 23 …public List<Invocation> findAllMatchingUnverifiedChunks(List<Invocation> invocations, InvocationMa… in findAllMatchingUnverifiedChunks() 24 List<Invocation> unverified = removeVerifiedInOrder(invocations, orderingContext); in findAllMatchingUnverifiedChunks() 43 …public List<Invocation> findMatchingChunk(List<Invocation> invocations, InvocationMatcher wanted, … in findMatchingChunk() 44 List<Invocation> unverified = removeVerifiedInOrder(invocations, context); in findMatchingChunk() 45 List<Invocation> firstChunk = getFirstMatchingChunk(wanted, unverified); in findMatchingChunk() 54 …private List<Invocation> getFirstMatchingChunk(InvocationMatcher wanted, List<Invocation> unverifi… in getFirstMatchingChunk() 55 List<Invocation> firstChunk = new LinkedList<Invocation>(); in getFirstMatchingChunk() 56 for (Invocation invocation : unverified) { in getFirstMatchingChunk() [all …]
|
D | InvocationMatcher.java | 20 import org.mockito.invocation.Invocation; 27 private final Invocation invocation; 30 public InvocationMatcher(Invocation invocation, List<Matcher> matchers) { in InvocationMatcher() 39 public InvocationMatcher(Invocation invocation) { in InvocationMatcher() 47 public Invocation getInvocation() { in getInvocation() 59 public boolean matches(Invocation actual) { in matches() 77 public boolean hasSimilarMethod(Invocation candidate) { in hasSimilarMethod() 95 public boolean hasSameMethod(Invocation candidate) { in hasSameMethod() 120 public void captureArgumentsFrom(Invocation invocation) { in captureArgumentsFrom() 141 private boolean isVariableArgument(Invocation invocation, int position) { in isVariableArgument() [all …]
|
D | InvocationMarker.java | 10 import org.mockito.invocation.Invocation; 14 public void markVerified(List<Invocation> invocations, CapturesArgumensFromInvocation wanted) { in markVerified() 15 for (Invocation invocation : invocations) { in markVerified() 20 public void markVerified(Invocation invocation, CapturesArgumensFromInvocation wanted) { in markVerified() 25 …public void markVerifiedInOrder(List<Invocation> chunk, CapturesArgumensFromInvocation wanted, InO… in markVerifiedInOrder() 28 for (Invocation i : chunk) { in markVerifiedInOrder()
|
D | UnusedStubsFinder.java | 11 import org.mockito.invocation.Invocation; 22 public List<Invocation> find(List<?> mocks) { in find() 23 List<Invocation> unused = new LinkedList<Invocation>(); in find()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInstance.h | 69 IntrusiveRefCntPtr<CompilerInvocation> Invocation; variable 186 bool hasInvocation() const { return Invocation != 0; } in hasInvocation() 189 assert(Invocation && "Compiler instance has no invocation!"); in getInvocation() 190 return *Invocation; in getInvocation() 210 return Invocation->getAnalyzerOpts(); in getAnalyzerOpts() 214 return Invocation->getCodeGenOpts(); in getCodeGenOpts() 217 return Invocation->getCodeGenOpts(); in getCodeGenOpts() 221 return Invocation->getDependencyOutputOpts(); in getDependencyOutputOpts() 224 return Invocation->getDependencyOutputOpts(); in getDependencyOutputOpts() 228 return Invocation->getDiagnosticOpts(); in getDiagnosticOpts() [all …]
|
/external/mockito/src/org/mockito/internal/invocation/finder/ |
D | AllInvocationsFinder.java | 10 import org.mockito.invocation.Invocation; 22 public List<Invocation> find(List<?> mocks) { in find() 23 … Set<Invocation> invocationsInOrder = new TreeSet<Invocation>(new SequenceNumberComparator()); in find() 26 List<Invocation> fromSingleMock = handler.getInvocationContainer().getInvocations(); in find() 30 return new LinkedList<Invocation>(invocationsInOrder); in find() 33 private final class SequenceNumberComparator implements Comparator<Invocation> { 34 public int compare(Invocation o1, Invocation o2) { in compare()
|
D | VerifiableInvocationsFinder.java | 9 import org.mockito.invocation.Invocation; 18 public List<Invocation> find(List<?> mocks) { in find() 19 List<Invocation> invocations = new AllInvocationsFinder().find(mocks); in find() 23 static class RemoveIgnoredForVerification implements ListUtil.Filter<Invocation>{ 24 public boolean isOut(Invocation i) { in isOut()
|
/external/mockito/src/org/mockito/internal/verification/ |
D | DefaultRegisteredInvocations.java | 11 import org.mockito.invocation.Invocation; 21 private final LinkedList<Invocation> invocations = new LinkedList<Invocation>(); 23 public void add(Invocation invocation) { in add() 38 public List<Invocation> getAll() { in getAll() 39 List<Invocation> copiedList; in getAll() 41 copiedList = new LinkedList<Invocation>(invocations) ; in getAll() 53 private static class RemoveToString implements Filter<Invocation> { 54 public boolean isOut(Invocation invocation) { in isOut()
|
D | SingleRegisteredInvocation.java | 8 import org.mockito.invocation.Invocation; 16 private Invocation invocation; 18 public void add(Invocation invocation) { in add() 26 public List<Invocation> getAll() { in getAll()
|
D | NoMoreInteractions.java | 15 import org.mockito.invocation.Invocation; 22 … Invocation unverified = new InvocationsFinder().findFirstUnverified(data.getAllInvocations()); in verify() 29 List<Invocation> invocations = data.getAllInvocations(); in verifyInOrder() 30 …Invocation unverified = new InvocationsFinder().findFirstUnverifiedInOrder(data.getOrderingContext… in verifyInOrder()
|
D | Only.java | 14 import org.mockito.invocation.Invocation; 26 List<Invocation> invocations = data.getAllInvocations(); in verify() 27 List<Invocation> chunk = finder.findInvocations(invocations,wantedMatcher); in verify() 29 Invocation unverified = finder.findFirstUnverified(invocations); in verify()
|
D | InOrderContextImpl.java | 9 import org.mockito.invocation.Invocation; 15 public boolean isVerified(Invocation invocation) { in isVerified() 19 public void markVerified(Invocation i) { in markVerified()
|
D | RegisteredInvocations.java | 11 import org.mockito.invocation.Invocation; 18 void add(Invocation invocation); in add() 22 List<Invocation> getAll(); in getAll()
|
/external/mockito/src/org/mockito/internal/debugging/ |
D | WarningsFinder.java | 8 import org.mockito.invocation.Invocation; 16 private final List<Invocation> baseUnusedStubs; 19 public WarningsFinder(List<Invocation> unusedStubs, List<InvocationMatcher> allInvocations) { in WarningsFinder() 25 List<Invocation> unusedStubs = new LinkedList(this.baseUnusedStubs); in find() 28 Iterator<Invocation> unusedIterator = unusedStubs.iterator(); in find() 30 Invocation unused = unusedIterator.next(); in find() 42 for (Invocation i : unusedStubs) { in find()
|
D | FindingsListener.java | 8 import org.mockito.invocation.Invocation; 11 void foundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed); in foundStubCalledWithDifferentArgs() 13 void foundUnusedStub(Invocation unused); in foundUnusedStub()
|
D | MockitoDebuggerImpl.java | 10 import org.mockito.invocation.Invocation; 23 List<Invocation> invocations = allInvocationsFinder.find(asList(mocks)); in printInvocations() 27 for(Invocation i:invocations) { in printInvocations() 43 for(Invocation i:invocations) { in printInvocations()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 91 clang::CompilerInvocation *Invocation = new clang::CompilerInvocation; in newInvocation() local 93 *Invocation, CC1Args.data() + 1, CC1Args.data() + CC1Args.size(), in newInvocation() 95 Invocation->getFrontendOpts().DisableFree = false; in newInvocation() 96 return Invocation; in newInvocation() 116 ToolInvocation Invocation(Commands, ToolAction, &Files); in runToolOnCodeWithArgs() local 119 Invocation.mapVirtualFile(FileNameRef, in runToolOnCodeWithArgs() 121 return Invocation.run(); in runToolOnCodeWithArgs() 181 OwningPtr<clang::CompilerInvocation> Invocation( in run() local 183 return runInvocation(BinaryName, Compilation.get(), Invocation.take()); in run() 189 clang::CompilerInvocation *Invocation) { in runInvocation() argument [all …]
|
/external/easymock/src/org/easymock/internal/ |
D | LastControl.java | 31 …private static final ThreadLocal<Stack<Invocation>> threadToCurrentInvocation = new ThreadLocal<St… 103 public static Invocation getCurrentInvocation() { in getCurrentInvocation() 104 Stack<Invocation> stack = threadToCurrentInvocation.get(); in getCurrentInvocation() 111 public static void pushCurrentInvocation(Invocation invocation) { in pushCurrentInvocation() 112 Stack<Invocation> stack = threadToCurrentInvocation.get(); in pushCurrentInvocation() 114 stack = new Stack<Invocation>(); in pushCurrentInvocation() 121 Stack<Invocation> stack = threadToCurrentInvocation.get(); in popCurrentInvocation()
|
D | ExpectedInvocation.java | 31 private final Invocation invocation; 38 public ExpectedInvocation(Invocation invocation, in ExpectedInvocation() 43 private ExpectedInvocation(Invocation invocation, in ExpectedInvocation() 52 private List<IArgumentMatcher> createMissingMatchers(Invocation invocation, in createMissingMatchers() 88 public boolean matches(Invocation actual) { in matches()
|
/external/mockito/src/org/mockito/internal/verification/checkers/ |
D | MissingInvocationInOrderChecker.java | 16 import org.mockito.invocation.Invocation; 33 …public void check(List<Invocation> invocations, InvocationMatcher wanted, VerificationMode mode, I… in check() 34 … List<Invocation> chunk = finder.findAllMatchingUnverifiedChunks(invocations, wanted, context); in check() 40 Invocation previousInOrder = finder.findPreviousVerifiedInOrder(invocations, context); in check() 49 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted); in check() 51 Invocation similar = finder.findSimilarInvocation(invocations, wanted); in check()
|
D | MissingInvocationChecker.java | 15 import org.mockito.invocation.Invocation; 31 public void check(List<Invocation> invocations, InvocationMatcher wanted) { in check() 32 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted); in check() 35 Invocation similar = finder.findSimilarInvocation(invocations, wanted); in check()
|
/external/mockito/src/org/mockito/internal/verification/api/ |
D | VerificationDataInOrderImpl.java | 10 import org.mockito.invocation.Invocation; 15 private final List<Invocation> allInvocations; 18 …public VerificationDataInOrderImpl(InOrderContext inOrder, List<Invocation> allInvocations, Invoca… in VerificationDataInOrderImpl() 24 public List<Invocation> getAllInvocations() { in getAllInvocations()
|
D | InOrderContext.java | 7 import org.mockito.invocation.Invocation; 11 boolean isVerified(Invocation invocation); in isVerified() 13 void markVerified(Invocation i); in markVerified()
|
/external/mockito/src/org/mockito/internal/listeners/ |
D | NotifiedMethodInvocationReport.java | 8 import org.mockito.invocation.Invocation; 15 private final Invocation invocation; 27 public NotifiedMethodInvocationReport(Invocation invocation, Object returnedValue) { in NotifiedMethodInvocationReport() 39 public NotifiedMethodInvocationReport(Invocation invocation, Throwable throwable) { in NotifiedMethodInvocationReport()
|
/external/mockito/src/org/mockito/internal/stubbing/ |
D | InvocationContainerImpl.java | 14 import org.mockito.invocation.Invocation; 58 Invocation invocation = invocationForStubbing.getInvocation(); in addAnswer() 72 Object answerTo(Invocation invocation) throws Throwable { in answerTo() 76 public StubbedInvocationMatcher findAnswerFor(Invocation invocation) { in findAnswerFor() 120 public List<Invocation> getInvocations() { in getInvocations()
|