/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/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/clang/include/clang/Frontend/ |
D | CompilerInstance.h | 73 IntrusiveRefCntPtr<CompilerInvocation> Invocation; variable 225 bool hasInvocation() const { return Invocation != nullptr; } in hasInvocation() 228 assert(Invocation && "Compiler instance has no invocation!"); in getInvocation() 229 return *Invocation; in getInvocation() 249 return Invocation->getAnalyzerOpts(); in getAnalyzerOpts() 253 return Invocation->getCodeGenOpts(); in getCodeGenOpts() 256 return Invocation->getCodeGenOpts(); in getCodeGenOpts() 260 return Invocation->getDependencyOutputOpts(); in getDependencyOutputOpts() 263 return Invocation->getDependencyOutputOpts(); in getDependencyOutputOpts() 267 return Invocation->getDiagnosticOpts(); in getDiagnosticOpts() [all …]
|
/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 | 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()
|
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()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 92 clang::CompilerInvocation *Invocation = new clang::CompilerInvocation; in newInvocation() local 94 *Invocation, CC1Args.data() + 1, CC1Args.data() + CC1Args.size(), in newInvocation() 96 Invocation->getFrontendOpts().DisableFree = false; in newInvocation() 97 Invocation->getCodeGenOpts().DisableFree = false; in newInvocation() 98 Invocation->getDependencyOutputOpts() = DependencyOutputOptions(); in newInvocation() 99 return Invocation; in newInvocation() 135 ToolInvocation Invocation(getSyntaxOnlyToolArgs(Args, FileNameRef), in runToolOnCodeWithArgs() local 149 return Invocation.run(); in runToolOnCodeWithArgs() 252 std::unique_ptr<clang::CompilerInvocation> Invocation( in run() local 259 Invocation->getPreprocessorOpts().addRemappedFile(It.getKey(), in run() [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()
|
/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/clang/unittests/AST/ |
D | ExternalASTSourceTest.cpp | 51 CompilerInvocation *Invocation = new CompilerInvocation; in testExternalASTSource() local 52 Invocation->getPreprocessorOpts().addRemappedFile( in testExternalASTSource() 55 CompilerInvocation::CreateFromArgs(*Invocation, Args, in testExternalASTSource() 58 Compiler.setInvocation(Invocation); in testExternalASTSource()
|
/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/clang/unittests/Frontend/ |
D | FrontendActionTest.cpp | 173 CompilerInvocation *Invocation = new CompilerInvocation; in TEST() local 174 Invocation->getPreprocessorOpts().addRemappedFile( in TEST() 177 Invocation->getFrontendOpts().Inputs.push_back( in TEST() 179 Invocation->getFrontendOpts().ProgramAction = frontend::ParseSyntaxOnly; in TEST() 180 Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu"; in TEST() 182 Compiler.setInvocation(Invocation); in TEST()
|