HomeSort by relevance Sort by last modified time
    Searched refs:Invocation (Results 51 - 75 of 129) sorted by null

1 23 4 5 6

  /external/mockito/src/org/mockito/internal/stubbing/answers/
AnswersValidator.java 8 import org.mockito.invocation.Invocation;
15 public void validate(Answer<?> answer, Invocation invocation) {
16 MethodInfo methodInfo = new MethodInfo(invocation);
35 validateReturnArgIdentity(returnsArgumentAt, invocation);
39 private void validateReturnArgIdentity(ReturnsArgumentAt returnsArgumentAt, Invocation invocation) {
40 returnsArgumentAt.validateIndexWithinInvocationRange(invocation);
42 MethodInfo methodInfo = new MethodInfo(invocation);
    [all...]
MethodInfo.java 8 import org.mockito.invocation.Invocation;
19 public MethodInfo(Invocation theInvocation) {
  /external/easymock/src/org/easymock/internal/
IMocksControlState.java 22 Object invoke(Invocation invocation) throws Throwable;
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...]
MockInvocationHandler.java 39 new Invocation(proxy, method, args));
ReplayState.java 36 public Object invoke(Invocation invocation) throws Throwable {
44 return invokeInner(invocation);
51 return invokeInner(invocation);
54 private Object invokeInner(Invocation invocation) throws Throwable {
55 LastControl.pushCurrentInvocation(invocation);
57 Result result = behavior.addActual(invocation);
UnorderedBehavior.java 47 public Result addActual(Invocation actual) {
78 public List<ErrorMessage> getMessages(Invocation invocation) {
84 boolean match = invocation != null
85 && entry.getExpectedInvocation().matches(invocation);
Invocation.java 29 public class Invocation implements Serializable {
42 public Invocation(Object mock, Method method, Object[] args) {
93 Invocation other = (Invocation) o;
135 public boolean matches(Invocation actual, org.easymock.ArgumentsMatcher matcher) {
Result.java 76 Invocation invocation = LastControl.getCurrentInvocation(); local
78 return invocation.getMethod().invoke(value,
79 invocation.getArguments());
84 + invocation.getMethod() + "]", e);
ObjectMethodsFilter.java 40 if (name != null && !Invocation.isJavaIdentifier(name)) {
  /external/mockito/src/org/mockito/internal/handler/
NullResultGuardian.java 10 import org.mockito.invocation.Invocation;
28 public Object handle(Invocation invocation) throws Throwable {
29 Object result = delegate.handle(invocation);
30 Class<?> returnType = invocation.getMethod().getReturnType();
MockHandlerImpl.java 9 import org.mockito.internal.invocation.InvocationMatcher;
10 import org.mockito.internal.invocation.MatchersBinder;
16 import org.mockito.invocation.Invocation;
25 * Invocation handler set on mock objects.
47 public Object handle(Invocation invocation) throws Throwable {
52 invocation
61 invocation
70 if (((MockAwareVerificationMode) verificationMode).getMock() == invocation.getMock())
    [all...]
  /external/mockito/src/org/mockito/internal/progress/
ThreadSafeMockingProgress.java 12 import org.mockito.invocation.Invocation;
52 public void stubbingCompleted(Invocation invocation) {
53 threadSafely().stubbingCompleted(invocation);
MockingProgressImpl.java 15 import org.mockito.invocation.Invocation;
16 import org.mockito.invocation.Location;
93 public void stubbingCompleted(Invocation invocation) {
  /external/mockito/src/org/mockito/internal/stubbing/
OngoingStubbingImpl.java 8 import org.mockito.invocation.Invocation;
41 public List<Invocation> getRegisteredInvocations() {
InvocationContainerImpl.java 7 import org.mockito.internal.invocation.InvocationMatcher;
8 import org.mockito.internal.invocation.StubInfoImpl;
14 import org.mockito.invocation.Invocation;
39 public void setInvocationForPotentialStubbing(InvocationMatcher invocation) {
40 registeredInvocations.add(invocation.getInvocation());
41 this.invocationForStubbing = invocation;
58 Invocation invocation = invocationForStubbing.getInvocation(); local
59 mockingProgress.stubbingCompleted(invocation);
    [all...]
  /external/mockito/src/org/mockito/internal/verification/
Calls.java 9 import org.mockito.internal.invocation.InvocationMatcher;
14 import org.mockito.invocation.Invocation;
35 List<Invocation> allInvocations = data.getAllInvocations();
AtLeast.java 11 import org.mockito.internal.invocation.InvocationMatcher;
19 import org.mockito.invocation.Invocation;
44 List<Invocation> allInvocations = data.getAllInvocations();
Times.java 11 import org.mockito.internal.invocation.InvocationMatcher;
19 import org.mockito.invocation.Invocation;
43 List<Invocation> allInvocations = data.getAllInvocations();
  /external/clang/unittests/Tooling/
ToolingTest.cpp 149 clang::tooling::ToolInvocation Invocation(Args, new SyntaxOnlyAction,
151 Invocation.mapVirtualFile("test.cpp", "#include <abc>\n");
152 Invocation.mapVirtualFile("def/abc", "\n");
153 EXPECT_TRUE(Invocation.run());
168 clang::tooling::ToolInvocation Invocation(Args, new SyntaxOnlyAction,
170 Invocation.mapVirtualFile("test.cpp", "#include <abc>\n");
171 Invocation.mapVirtualFile("def/abc", "\n");
174 Invocation.mapVirtualFile("def/module.map", "\n");
175 EXPECT_TRUE(Invocation.run());
  /external/clang/tools/diagtool/
ShowEnabledWarnings.cpp 67 std::unique_ptr<CompilerInvocation> Invocation(
70 if (!Invocation)
75 CompilerInstance::createDiagnostics(&Invocation->getDiagnosticOpts());
  /external/mockito/src/org/mockito/internal/
MockitoCore.java 13 import org.mockito.internal.invocation.finder.VerifiableInvocationsFinder;
28 import org.mockito.invocation.Invocation;
161 * @return last invocation
163 public Invocation getLastInvocation() {
165 List<Invocation> allInvocations = ongoingStubbing.getRegisteredInvocations();
172 List<Invocation> ins = invocationContainer.getInvocations();
173 for (Invocation in : ins) {
  /external/mockito/src/org/mockito/internal/creation/
MethodInterceptorFilter.java 12 import org.mockito.internal.invocation.InvocationImpl;
13 import org.mockito.internal.invocation.MockitoMethod;
14 import org.mockito.internal.invocation.SerializableMethod;
15 import org.mockito.internal.invocation.realmethod.FilteredCGLIBProxyRealMethod;
18 import org.mockito.invocation.Invocation;
19 import org.mockito.invocation.MockHandler;
60 Invocation invocation = new InvocationImpl(proxy, mockitoMethod, args, SequenceNumber.next(), realMethod); local
61 return handler.handle(invocation);
    [all...]
  /external/clang/include/clang/Tooling/
Tooling.h 66 /// \brief Perform an action for an invocation.
67 virtual bool runInvocation(clang::CompilerInvocation *Invocation,
83 bool runInvocation(clang::CompilerInvocation *Invocation, FileManager *Files,
179 /// \brief Utility to run a FrontendAction in a single clang invocation.
182 /// \brief Create a tool invocation.
194 /// \brief Create a tool invocation.
213 /// \brief Run the clang invocation.
223 clang::CompilerInvocation *Invocation);
  /external/clang/lib/Frontend/
ASTUnit.cpp 247 // compiler instance *not* free these buffers for each invocation of the
249 if (Invocation.get() && OwnsRemappedFileBuffers) {
250 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
    [all...]

Completed in 981 milliseconds

1 23 4 5 6