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

1 2

  /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) {
InvocationMatcher.java 148 public static List<InvocationMatcher> createFrom(List<Invocation> invocations) {
151 for (Invocation i : 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/
VerifiableInvocationsFinder.java 19 List<Invocation> invocations = new AllInvocationsFinder().find(mocks); local
20 return ListUtil.filter(invocations, new RemoveIgnoredForVerification());
  /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/exceptions/
Reporter.java 269 "If you intend to verify invocations on a mock, don't use stubOnly() in its MockSettings."
310 public void wantedButNotInvoked(DescribedInvocation wanted, List<? extends DescribedInvocation> invocations) {
312 if (invocations.isEmpty()) {
316 for (DescribedInvocation i : invocations) {
415 public void noMoreInteractionsWanted(Invocation undesired, List<VerificationAwareInvocation> invocations) {
417 String scenario = scenarioPrinter.print(invocations);
    [all...]
  /external/bison/build-aux/
ylwrap 2 # ylwrap - wrapper for lex/yacc invocations.
46 Wrapper for lex/yacc invocations, renaming files as desired.
  /external/elfutils/config/
ylwrap 2 # ylwrap - wrapper for lex/yacc invocations.
48 Wrapper for lex/yacc invocations, renaming files as desired.
  /external/mockito/src/org/mockito/internal/
MockitoCore.java 107 InvocationContainer invocations = mockUtil.getMockHandler(mock).getInvocationContainer(); local
108 VerificationDataImpl data = new VerificationDataImpl(invocations, null);
  /external/robolectric/lib/test/
mockito-core-1.8.5.jar 
  /external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/jst/
jsevalcontext.js 111 * passed to javascript invocations through jseval.
324 * invocations, and some object creations in IE6.

Completed in 331 milliseconds

1 2