HomeSort by relevance Sort by last modified time
    Searched defs:invocation (Results 1 - 25 of 48) sorted by null

1 2

  /external/mockito/src/org/mockito/internal/invocation/
InvocationMarker.java 5 package org.mockito.internal.invocation;
10 import org.mockito.invocation.Invocation;
14 public void markVerified(List<Invocation> invocations, CapturesArgumensFromInvocation wanted) {
15 for (Invocation invocation : invocations) {
16 markVerified(invocation, wanted);
20 public void markVerified(Invocation invocation, CapturesArgumensFromInvocation wanted) {
21 invocation.markVerified();
    [all...]
CapturesArgumensFromInvocation.java 5 package org.mockito.internal.invocation;
8 import org.mockito.invocation.Invocation;
12 void captureArgumentsFrom(Invocation i);
StubInfoImpl.java 5 package org.mockito.internal.invocation;
7 import org.mockito.invocation.DescribedInvocation;
8 import org.mockito.invocation.Location;
9 import org.mockito.invocation.StubInfo;
InvocationMatcher.java 6 package org.mockito.internal.invocation;
19 import org.mockito.invocation.DescribedInvocation;
20 import org.mockito.invocation.Invocation;
21 import org.mockito.invocation.Location;
27 private final Invocation invocation; field in class:InvocationMatcher
30 public InvocationMatcher(Invocation invocation, List<Matcher> matchers) {
31 this.invocation = invocation
    [all...]
ArgumentsComparator.java 5 package org.mockito.internal.invocation;
10 import org.mockito.invocation.Invocation;
16 public boolean argumentsMatch(InvocationMatcher invocationMatcher, Invocation actual) {
34 private boolean varArgsMatch(InvocationMatcher invocationMatcher, Invocation actual) {
ArgumentsProcessor.java 5 package org.mockito.internal.invocation;
MatchersBinder.java 6 package org.mockito.internal.invocation;
12 import org.mockito.invocation.Invocation;
22 public InvocationMatcher bindMatchers(ArgumentMatcherStorage argumentMatcherStorage, Invocation invocation) {
24 validateMatchers(invocation, lastMatchers);
26 InvocationMatcher invocationWithMatchers = new InvocationMatcher(invocation, (List<Matcher>)(List) lastMatchers);
30 private void validateMatchers(Invocation invocation, List<LocalizedMatcher> lastMatchers) {
33 int expectedMatchersSize = invocation.getArguments().length
    [all...]
MockitoMethod.java 5 package org.mockito.internal.invocation;
UnusedStubsFinder.java 6 package org.mockito.internal.invocation;
11 import org.mockito.invocation.Invocation;
22 public List<Invocation> find(List<?> mocks) {
23 List<Invocation> unused = new LinkedList<Invocation>();
  /external/chromium_org/third_party/ocmock/OCMock/
OCMConstraint.h 44 NSInvocation *invocation; variable
  /external/mockito/src/org/mockito/invocation/
Location.java 5 package org.mockito.invocation;
MockHandler.java 5 package org.mockito.invocation;
12 * Mockito handler of an invocation on a mock. This is a core part of the API, the heart of Mockito.
21 * Takes an invocation object and handles it.
27 * @param invocation The invocation to handle
32 Object handle(Invocation invocation) throws Throwable;
StubInfo.java 5 package org.mockito.invocation;
16 * @return the location where the invocation was stubbed.
DescribedInvocation.java 5 package org.mockito.invocation;
11 * Provides information about the invocation, specifically a human readable description and the location.
17 * Describes the invocation in the human friendly way.
19 * @return the description of this invocation.
24 * The place in the code where the invocation happened.
26 * @return the location of the invocation.
InvocationOnMock.java 6 package org.mockito.invocation;
12 * An invocation on a mock
Invocation.java 5 package org.mockito.invocation;
14 * Vast majority of users don't need to use the Invocation. It's mostly useful for other framework authors
20 public interface Invocation extends InvocationOnMock, DescribedInvocation {
23 * @return whether the invocation has been already verified.
29 * @return the sequence number of the Invocation. Useful to determine the order of invocations.
35 * @return the location in code of this invocation.
43 * @return unprocessed arguments, exactly as provided to this invocation.
48 * Marks this invocation as verified so that it will not cause verification error at
54 * @return the stubbing information for this invocation. May return null - this means
55 * the invocation was not stubbed
    [all...]
  /external/mockito/src/org/mockito/internal/invocation/realmethod/
RealMethod.java 5 package org.mockito.internal.invocation.realmethod;
  /external/mockito/src/org/mockito/internal/invocation/finder/
VerifiableInvocationsFinder.java 6 package org.mockito.internal.invocation.finder;
9 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) {
AllInvocationsFinder.java 6 package org.mockito.internal.invocation.finder;
10 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)
    [all...]
  /external/mockito/src/org/mockito/internal/verification/
SingleRegisteredInvocation.java 8 import org.mockito.invocation.Invocation;
16 private Invocation invocation; field in class:SingleRegisteredInvocation
18 public void add(Invocation invocation) {
19 this.invocation = invocation;
23 invocation = null;
26 public List<Invocation> getAll()
    [all...]
  /external/mockito/src/org/mockito/internal/stubbing/
StubbedInvocationMatcher.java 11 import org.mockito.internal.invocation.InvocationMatcher;
12 import org.mockito.invocation.DescribedInvocation;
13 import org.mockito.invocation.InvocationOnMock;
23 public StubbedInvocationMatcher(InvocationMatcher invocation, Answer answer) {
24 super(invocation.getInvocation(), invocation.getMatchers());
28 public Object answer(InvocationOnMock invocation) throws Throwable {
34 return a.answer(invocation);
  /external/easymock/src/org/easymock/internal/
ExpectedInvocation.java 31 private final Invocation invocation; field in class:ExpectedInvocation
38 public ExpectedInvocation(Invocation invocation,
40 this(invocation, matchers, null);
43 private ExpectedInvocation(Invocation invocation,
46 this.invocation = invocation;
48 this.matchers = (matcher == null) ? createMissingMatchers(invocation,
    [all...]
Result.java 76 Invocation invocation = LastControl.getCurrentInvocation(); local
78 return invocation.getMethod().invoke(value,
79 invocation.getArguments());
84 + invocation.getMethod() + "]", e);
  /external/clang/unittests/Frontend/
FrontendActionTest.cpp 54 CompilerInvocation *invocation = new CompilerInvocation; local
55 invocation->getPreprocessorOpts().addRemappedFile(
57 invocation->getFrontendOpts().Inputs.push_back(FrontendInputFile("test.cc",
59 invocation->getFrontendOpts().ProgramAction = frontend::ParseSyntaxOnly;
60 invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu";
62 compiler.setInvocation(invocation);
  /external/mockito/src/org/mockito/internal/listeners/
NotifiedMethodInvocationReport.java 7 import org.mockito.invocation.DescribedInvocation;
8 import org.mockito.invocation.Invocation;
15 private final Invocation invocation; field in class:NotifiedMethodInvocationReport
24 * @param invocation Information on the method call
25 * @param returnedValue The value returned by the method invocation
27 public NotifiedMethodInvocationReport(Invocation invocation, Object returnedValue) {
28 this.invocation = invocation;
    [all...]

Completed in 314 milliseconds

1 2