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

1 23 4 5 6 7

  /external/mockito/src/org/mockito/internal/verification/checkers/
NumberOfInvocationsInOrderChecker.java 11 import org.mockito.internal.invocation.InvocationMarker;
12 import org.mockito.internal.invocation.InvocationMatcher;
13 import org.mockito.internal.invocation.InvocationsFinder;
16 import org.mockito.invocation.Invocation;
17 import org.mockito.invocation.Location;
34 public void check(List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context) {
35 List<Invocation> chunk = finder.findMatchingChunk(invocations, wanted, wantedCount, context);
  /external/clang/lib/Tooling/
Tooling.cpp 87 /// \brief Returns a clang build invocation initialized from the CC1 flags.
92 clang::CompilerInvocation *Invocation = new clang::CompilerInvocation;
94 *Invocation, CC1Args.data() + 1, CC1Args.data() + CC1Args.size(),
96 Invocation->getFrontendOpts().DisableFree = false;
97 Invocation->getCodeGenOpts().DisableFree = false;
98 Invocation->getDependencyOutputOpts() = DependencyOutputOptions();
99 return Invocation;
135 ToolInvocation Invocation(getSyntaxOnlyToolArgs(Args, FileNameRef),
149 return Invocation.run();
252 std::unique_ptr<clang::CompilerInvocation> Invocation(
    [all...]
  /external/mockito/src/org/mockito/internal/
InOrderImpl.java 19 import org.mockito.invocation.Invocation;
53 public boolean isVerified(Invocation i) {
57 public void markVerified(Invocation i) {
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/reporting/
PrintSettings.java 8 import org.mockito.internal.invocation.ArgumentsProcessor;
9 import org.mockito.internal.invocation.InvocationMatcher;
12 import org.mockito.invocation.Invocation;
46 public String print(List<Matcher> matchers, Invocation invocation) {
48 String qualifiedName = new MockUtil().getMockName(invocation.getMock()) + "." + invocation.getMethod().getName();
57 public String print(Invocation invocation) {
    [all...]
  /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/clang/lib/StaticAnalyzer/Frontend/
ModelInjector.cpp 66 IntrusiveRefCntPtr<CompilerInvocation> Invocation(
69 FrontendOptions &FrontendOpts = Invocation->getFrontendOpts();
75 Invocation->getDiagnosticOpts().VerifyDiagnostics = 0;
80 Instance.setInvocation(&*Invocation);
  /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) {
  /external/llvm/tools/llvm-cov/
llvm-cov.cpp 71 std::string Invocation = std::string(argv[0]) + " " + argv[1];
72 argv[1] = Invocation.c_str();
  /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();
  /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);
  /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/tools/diagtool/
ShowEnabledWarnings.cpp 70 std::unique_ptr<CompilerInvocation> Invocation(
72 if (!Invocation)
77 CompilerInstance::createDiagnostics(&Invocation->getDiagnosticOpts());
  /external/clang/unittests/Frontend/
FrontendActionTest.cpp 80 CompilerInvocation *invocation = new CompilerInvocation; local
81 invocation->getPreprocessorOpts().addRemappedFile(
84 invocation->getFrontendOpts().Inputs.push_back(FrontendInputFile("test.cc",
86 invocation->getFrontendOpts().ProgramAction = frontend::ParseSyntaxOnly;
87 invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu";
89 compiler.setInvocation(invocation);
100 CompilerInvocation *invocation = new CompilerInvocation; local
101 invocation->getPreprocessorOpts().addRemappedFile(
104 invocation->getFrontendOpts().Inputs.push_back(FrontendInputFile("test.cc",
106 invocation->getFrontendOpts().ProgramAction = frontend::ParseSyntaxOnly
120 CompilerInvocation *invocation = new CompilerInvocation; local
    [all...]
  /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...]

Completed in 1518 milliseconds

1 23 4 5 6 7