/external/mockito/src/org/mockito/internal/verification/checkers/ |
MissingInvocationInOrderChecker.java | 11 import org.mockito.internal.invocation.InvocationMatcher; 12 import org.mockito.internal.invocation.InvocationsFinder; 16 import org.mockito.invocation.Invocation; 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);
|
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/ |
GloballyConfiguredAnswer.java | 11 import org.mockito.invocation.InvocationOnMock;
23 public Object answer(InvocationOnMock invocation) throws Throwable {
24 return new GlobalConfiguration().getDefaultAnswer().answer(invocation);
|
ForwardsInvocations.java | 7 import org.mockito.invocation.InvocationOnMock; 28 public Object answer(InvocationOnMock invocation) throws Throwable { 29 Method method = invocation.getMethod() ; 31 return method.invoke(delegatedObject, invocation.getArguments());
|
ReturnsMocks.java | 11 import org.mockito.invocation.InvocationOnMock;
20 public Object answer(InvocationOnMock invocation) throws Throwable {
21 Object ret = delegate.answer(invocation);
26 return returnValueFor(invocation.getMethod().getReturnType());
|
/external/clang/test/SemaCXX/ |
warn-consumed-analysis.cpp | 89 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}} 90 *var1; // expected-warning {{invalid invocation of method 'operator*' on object 'var1' while it is in the 'consumed' state}} 93 *var4; // expected-warning {{invalid invocation of method 'operator*' on object 'var4' while it is in the 'consumed' state}} 99 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}} 106 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}} 115 *D2; // expected-warning {{invalid invocation of method 'operator*' on object 'D2' while it is in the 'consumed' state}} 117 D0.~DestructorTester(); // expected-warning {{invalid invocation of method '~DestructorTester' on object 'D0' while it is in the 'unconsumed' state}} 119 return; // expected-warning {{invalid invocation of method '~DestructorTester' on object 'D0' while it is in the 'unconsumed' state}} \ 120 expected-warning {{invalid invocation of method '~DestructorTester' on object 'D1' while it is in the 'unconsumed' state}} 124 *ConsumableClass<int>(); // expected-warning {{invalid invocation of method 'operator*' on a temporary object while it is in the 'consumed' state} [all...] |
/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/clang/test/Preprocessor/ |
annotate_in_macro_arg.c | 4 M1( // expected-error{{unterminated function-like macro invocation}}
|
macro_rescan_varargs.c | 8 1: ELLIP_FUNC(F, LPAREN, 'a', 'b', RPAREN); /* 1st invocation */ 9 2: ELLIP_FUNC(F LPAREN 'a', 'b' RPAREN); /* 2nd invocation */
|
/external/mockito/src/org/mockito/internal/invocation/ |
package.html | 7 Invocation and related classes.
|
/external/mockito/src/org/mockito/internal/invocation/realmethod/ |
RealMethod.java | 5 package org.mockito.internal.invocation.realmethod;
|
/external/mockito/src/org/mockito/internal/progress/ |
MockingProgress.java | 10 import org.mockito.invocation.Invocation; 26 void stubbingCompleted(Invocation invocation);
|
ThreadSafeMockingProgress.java | 12 import org.mockito.invocation.Invocation; 52 public void stubbingCompleted(Invocation invocation) { 53 threadSafely().stubbingCompleted(invocation);
|
/external/mockito/src/org/mockito/internal/reporting/ |
SmartPrinter.java | 8 import org.mockito.internal.invocation.InvocationMatcher;
9 import org.mockito.invocation.Invocation;
21 public SmartPrinter(InvocationMatcher wanted, Invocation actual, Integer ... indexesOfMatchersToBeDescribedWithExtraTypeInfo) {
|
/external/mockito/src/org/mockito/internal/stubbing/answers/ |
ClonesArguments.java | 9 import org.mockito.invocation.InvocationOnMock;
16 public Object answer(InvocationOnMock invocation) throws Throwable {
17 Object[] arguments = invocation.getArguments();
24 return new ReturnsEmptyValues().answer(invocation);
|
DoesNothing.java | 9 import org.mockito.invocation.InvocationOnMock;
16 public Object answer(InvocationOnMock invocation) throws Throwable {
|
/external/mockito/src/org/mockito/internal/verification/ |
InOrderWrapper.java | 8 import org.mockito.internal.invocation.finder.VerifiableInvocationsFinder;
12 import org.mockito.invocation.Invocation;
28 List<Invocation> invocations = new VerifiableInvocationsFinder().find(inOrder.getMocksToBeVerifiedInOrder());
|
VerificationDataImpl.java | 10 import org.mockito.internal.invocation.InvocationMatcher;
14 import org.mockito.invocation.Invocation;
27 public List<Invocation> getAllInvocations() {
|
NoMoreInteractions.java | 11 import org.mockito.internal.invocation.InvocationsFinder; 15 import org.mockito.invocation.Invocation; 22 Invocation unverified = new InvocationsFinder().findFirstUnverified(data.getAllInvocations()); 29 List<Invocation> invocations = data.getAllInvocations(); 30 Invocation unverified = new InvocationsFinder().findFirstUnverifiedInOrder(data.getOrderingContext(), invocations);
|
/external/mockito/src/org/mockito/invocation/ |
package.html | 7 Public API related to invocation
|
/external/mockito/src/org/mockito/exceptions/ |
PrintableInvocation.java | 8 import org.mockito.invocation.DescribedInvocation; 9 import org.mockito.invocation.Location;
|
/system/vold/ |
vdc.rc | 1 # One shot invocation to deal with encrypted volume. 7 # One shot invocation to encrypt unencrypted volumes
|
/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/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/mockito/src/org/mockito/ |
ReturnValues.java | 8 import org.mockito.invocation.InvocationOnMock; 23 * Configures return values for an unstubbed invocation 31 * return value for an unstubbed invocation 33 * @param invocation placeholder for mock and a method 36 Object valueFor(InvocationOnMock invocation) throws Throwable;
|
/external/mockito/src/org/mockito/internal/debugging/ |
LoggingListener.java | 7 import org.mockito.internal.invocation.InvocationMatcher;
9 import org.mockito.invocation.Invocation;
22 public void foundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed) {
31 public void foundUnusedStub(Invocation unused) {
|