HomeSort by relevance Sort by last modified time
    Searched full:invocations (Results 1 - 25 of 441) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/mockito/src/org/mockito/internal/verification/
DefaultRegisteredInvocations.java 21 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.isEmpty()
    [all...]
VerificationDataImpl.java 19 private final InvocationContainer invocations; field in class:VerificationDataImpl
21 public VerificationDataImpl(InvocationContainer invocations, InvocationMatcher wanted) {
22 this.invocations = invocations;
28 return invocations.getInvocations();
Only.java 26 List<Invocation> invocations = data.getAllInvocations(); local
27 List<Invocation> chunk = finder.findInvocations(invocations,wantedMatcher);
28 if (invocations.size() != 1 && chunk.size() > 0) {
29 Invocation unverified = finder.findFirstUnverified(invocations);
30 reporter.noMoreInteractionsWanted(unverified, (List) invocations);
31 } else if (invocations.size() != 1 || chunk.size() == 0) {
InOrderWrapper.java 28 List<Invocation> invocations = new VerifiableInvocationsFinder().find(inOrder.getMocksToBeVerifiedInOrder()); local
29 VerificationDataInOrderImpl dataInOrder = new VerificationDataInOrderImpl(inOrder, invocations, data.getWanted());
AtMost.java 32 List<Invocation> invocations = data.getAllInvocations(); local
36 List<Invocation> found = finder.findInvocations(invocations, wanted);
NoMoreInteractions.java 29 List<Invocation> invocations = data.getAllInvocations(); local
30 Invocation unverified = new InvocationsFinder().findFirstUnverifiedInOrder(data.getOrderingContext(), invocations);
  /external/mockito/src/org/mockito/internal/invocation/
InvocationsFinder.java 19 public List<Invocation> findInvocations(List<Invocation> invocations, InvocationMatcher wanted) {
20 return ListUtil.filter(invocations, new RemoveNotMatching(wanted));
23 public List<Invocation> findAllMatchingUnverifiedChunks(List<Invocation> invocations, InvocationMatcher wanted, InOrderContext orderingContext) {
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) {
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 ){
67 for( Invocation invocation : removeVerifiedInOrder( invocations, context ))
    [all...]
InvocationMarker.java 14 public void markVerified(List<Invocation> invocations, CapturesArgumensFromInvocation wanted) {
15 for (Invocation invocation : invocations) {
  /external/mockito/src/org/mockito/internal/exceptions/util/
ScenarioPrinter.java 13 public String print(List<VerificationAwareInvocation> invocations) {
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/debugging/
MockitoDebuggerImpl.java 23 List<Invocation> invocations = allInvocationsFinder.find(asList(mocks)); local
27 for(Invocation i:invocations) {
35 invocations = unusedStubsFinder.find(asList(mocks));
36 if (invocations.isEmpty()) {
43 for(Invocation i:invocations) {
  /external/mockito/src/org/mockito/internal/invocation/finder/
AllInvocationsFinder.java 17 * gets all invocations from mocks. Invocations are ordered earlier first.
20 * @return invocations
VerifiableInvocationsFinder.java 19 List<Invocation> invocations = new AllInvocationsFinder().find(mocks); local
20 return ListUtil.filter(invocations, new RemoveIgnoredForVerification());
  /external/clang/include/clang/Config/
config.h.cmake 10 /* Default <path> to all compiler invocations for --sysroot=<path>. */
config.h 16 /* Default <path> to all compiler invocations for --sysroot=<path>. */
config.h.in 18 /* Default <path> to all compiler invocations for --sysroot=<path>. */
  /external/mockito/src/org/mockito/internal/verification/checkers/
MissingInvocationChecker.java 31 public void check(List<Invocation> invocations, InvocationMatcher wanted) {
32 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
35 Invocation similar = finder.findSimilarInvocation(invocations, wanted);
42 reporter.wantedButNotInvoked(wanted, invocations);
MissingInvocationInOrderChecker.java 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);
AtLeastXNumberOfInvocationsChecker.java 23 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) {
24 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
AtLeastXNumberOfInvocationsInOrderChecker.java 29 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) {
30 List<Invocation> chunk = finder.findAllMatchingUnverifiedChunks(invocations, wanted, orderingContext);
NonGreedyNumberOfInvocationsInOrderChecker.java 35 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context) {
39 Invocation next = finder.findFirstMatchingUnverifiedInvocation( invocations, wanted, context );
NumberOfInvocationsChecker.java 33 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount) {
34 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
NumberOfInvocationsInOrderChecker.java 34 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context) {
35 List<Invocation> chunk = finder.findMatchingChunk(invocations, wanted, wantedCount, context);
  /external/mockito/src/org/mockito/invocation/
Invocation.java 29 * @return the sequence number of the Invocation. Useful to determine the order of invocations.
67 * Informs if the invocation participates in verify-no-more-invocations or verification in order.
70 * verify-no-more-invocations or verification in order.
75 * Configures this invocation to be ignored for verify-no-more-invocations or verification in order.
  /dalvik/dx/src/com/android/dx/io/
IndexType.java 44 /** inline method index (for inline linked method invocations) */
47 /** direct vtable offset (for static linked method invocations) */
  /external/dexmaker/src/dx/java/com/android/dx/io/
IndexType.java 44 /** inline method index (for inline linked method invocations) */
47 /** direct vtable offset (for static linked method invocations) */

Completed in 148 milliseconds

1 2 3 4 5 6 7 8 91011>>