Home
last modified time | relevance | path

Searched defs:invocation (Results 1 – 25 of 145) sorted by relevance

123456

/external/cronet/stable/third_party/boringssl/src/util/fipstools/acvp/acvptool/test/
Dcheck_expected.go42 type invocation struct { struct
43 toolPath string
44 wrapperPath string
45 inPath string
46 expectedPath string
47 configPath string
135 func worker(wg *sync.WaitGroup, work <-chan invocation, numFailed *uint32) {
146 func doTest(test invocation) error {
/external/cronet/tot/third_party/boringssl/src/util/fipstools/acvp/acvptool/test/
Dcheck_expected.go42 type invocation struct { struct
43 toolPath string
44 wrapperPath string
45 inPath string
46 expectedPath string
47 configPath string
135 func worker(wg *sync.WaitGroup, work <-chan invocation, numFailed *uint32) {
146 func doTest(test invocation) error {
/external/boringssl/src/util/fipstools/acvp/acvptool/test/
Dcheck_expected.go42 type invocation struct { struct
43 toolPath string
44 wrapperPath string
45 inPath string
46 expectedPath string
47 configPath string
135 func worker(wg *sync.WaitGroup, work <-chan invocation, numFailed *uint32) {
146 func doTest(test invocation) error {
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DReturnsArgumentAt.java54 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
69 public void validateFor(InvocationOnMock invocation) { in validateFor()
75 private int inferWantedArgumentPosition(InvocationOnMock invocation) { in inferWantedArgumentPosition()
84 InvocationOnMock invocation, int argumentPosition) { in validateIndexWithinInvocationRange()
91 private void validateArgumentTypeCompatibility(Invocation invocation, int argumentPosition) { in validateArgumentTypeCompatibility()
114 InvocationOnMock invocation, int argumentPosition) { in wantedArgumentPositionIsValidForInvocation()
125 private Class<?> inferArgumentType(Invocation invocation, int argumentIndex) { in inferArgumentType()
DCallsRealMethods.java41 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
49 public void validateFor(InvocationOnMock invocation) { in validateFor()
DDoesNothing.java28 public Object answer(InvocationOnMock invocation) { in answer()
33 public void validateFor(InvocationOnMock invocation) { in validateFor()
DAbstractThrowsException.java23 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
43 public void validateFor(InvocationOnMock invocation) { in validateFor()
DAnswersWithDelay.java35 public Object answer(final InvocationOnMock invocation) throws Throwable { in answer()
41 public void validateFor(final InvocationOnMock invocation) { in validateFor()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DInvocationMatcherTest.java46 Invocation invocation = new InvocationBuilder().toInvocation(); in should_be_a_citizen_of_hashes() local
110 InvocationMatcher invocation = in should_not_be_similar_if_is_overloaded_but_used_with_the_same_arg() local
123 InvocationMatcher invocation = in should_be_similar_if_is_overloaded_but_used_with_different_arg() local
138 Invocation invocation = new InvocationBuilder().args("1", 100).toInvocation(); in should_capture_arguments_from_invocation() local
155 Invocation invocation = getLastInvocation(); in should_match_varargs_using_any_varargs() local
169 Invocation invocation = getLastInvocation(); in should_capture_varargs_as_vararg() local
185 Invocation invocation = getLastInvocation(); in should_capture_arguments_when_args_count_does_NOT_match() local
/external/mockito/src/test/java/org/mockito/internal/verification/
DOnlyTest.java25 private final Invocation invocation; field in OnlyTest.VerificationDataStub
28 public VerificationDataStub(InvocationMatcher wanted, Invocation invocation) { in VerificationDataStub()
50 Invocation invocation = new InvocationBuilder().toInvocation(); in shouldMarkAsVerified() local
63 Invocation invocation = new InvocationBuilder().toInvocation(); in shouldNotMarkAsVerifiedWhenAssertionFailed() local
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/
DAtLeastXNumberOfInvocationsCheckerTest.java27 Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation(); in shouldMarkActualInvocationsAsVerifiedInOrder() local
42 Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation(); in shouldReportTooFewInvocationsInOrder() local
61 Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation(); in shouldMarkActualInvocationsAsVerified() local
75 Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation(); in shouldReportTooFewInvocations() local
/external/mockito/src/main/java/org/mockito/internal/invocation/
DMatcherApplicationStrategy.java22 private final Invocation invocation; field in MatcherApplicationStrategy
27 Invocation invocation, in MatcherApplicationStrategy()
54 Invocation invocation, List<ArgumentMatcher<?>> matchers) { in getMatcherApplicationStrategyFor()
94 Invocation invocation, List<ArgumentMatcher<?>> matchers) { in getMatcherApplicationType()
129 private static int varargLength(Invocation invocation) { in varargLength()
DInvocationMatcher.java31 private final Invocation invocation; field in InvocationMatcher
35 public InvocationMatcher(Invocation invocation, List<ArgumentMatcher> matchers) { in InvocationMatcher()
45 public InvocationMatcher(Invocation invocation) { in InvocationMatcher()
132 public void captureArgumentsFrom(Invocation invocation) { in captureArgumentsFrom()
DMatchersBinder.java22 ArgumentMatcherStorage argumentMatcherStorage, Invocation invocation) { in bindMatchers()
33 private void validateMatchers(Invocation invocation, List<LocalizedMatcher> lastMatchers) { in validateMatchers()
/external/easymock/src/org/easymock/internal/
DExpectedInvocation.java31 private final Invocation invocation; field in ExpectedInvocation
38 public ExpectedInvocation(Invocation invocation, in ExpectedInvocation()
43 private ExpectedInvocation(Invocation invocation, in ExpectedInvocation()
52 private List<IArgumentMatcher> createMissingMatchers(Invocation invocation, in createMissingMatchers()
/external/mockito/src/test/java/org/mockito/
DStaticMockingExperimentTest.java63 Invocation invocation = in verify_static_method() local
116 Invocation invocation = in verification_failure_static_method() local
149 Invocation invocation = in stubbing_static_method() local
186 Invocation invocation = in do_answer_stubbing_static_method() local
220 Invocation invocation = in verify_no_more_interactions() local
DInvocationFactoryTest.java28 Invocation invocation = in call_method_that_throws_a_throwable() local
54 Invocation invocation = in call_method_that_returns_a_string() local
/external/mockito/src/main/java/org/mockito/internal/stubbing/
DInvocationContainerImpl.java45 public void setInvocationForPotentialStubbing(MatchableInvocation invocation) { in setInvocationForPotentialStubbing()
62 Invocation invocation = invocationForStubbing.getInvocation(); in addAnswer() local
86 Object answerTo(Invocation invocation) throws Throwable { in answerTo()
90 public StubbedInvocationMatcher findAnswerFor(Invocation invocation) { in findAnswerFor()
121 public void setMethodForStubbing(MatchableInvocation invocation) { in setMethodForStubbing()
/external/mockito/src/main/java/org/mockito/internal/handler/
DInvocationNotifierHandler.java32 public Object handle(Invocation invocation) throws Throwable { in handle()
43 private void notifyMethodCall(Invocation invocation, Object returnValue) { in notifyMethodCall()
54 private void notifyMethodCallException(Invocation invocation, Throwable exception) { in notifyMethodCallException()
DNotifiedMethodInvocationReport.java17 private final Invocation invocation; field in NotifiedMethodInvocationReport
28 public NotifiedMethodInvocationReport(Invocation invocation, Object returnedValue) { in NotifiedMethodInvocationReport()
41 public NotifiedMethodInvocationReport(Invocation invocation, Throwable throwable) { in NotifiedMethodInvocationReport()
/external/mockito/src/main/java/org/mockito/internal/listeners/
DStubbingLookupNotifier.java20 Invocation invocation, in notifyStubbedAnswerLookup()
36 private final Invocation invocation; field in StubbingLookupNotifier.Event
42 Invocation invocation, in Event()
/external/mockito/src/main/java/org/mockito/internal/reporting/
DPrintSettings.java56 public String print(List<ArgumentMatcher> matchers, Invocation invocation) { in print()
68 public String print(Invocation invocation) { in print()
72 public String print(MatchableInvocation invocation) { in print()
/external/mockito/src/main/java/org/mockito/internal/verification/
DSingleRegisteredInvocation.java15 private Invocation invocation; field in SingleRegisteredInvocation
18 public void add(Invocation invocation) { in add()
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DRetrieveGenericsForDefaultAnswers.java22 InvocationOnMock invocation, AnswerCallback answerCallback) { in returnTypeForMockWithCorrectGenerics()
92 final InvocationOnMock invocation, final TypeVariable returnType) { in findTypeFromGeneric()
116 final InvocationOnMock invocation, final TypeVariable returnType) { in findTypeFromGenericInArguments()
/external/mockito/src/test/java/org/mockito/internal/handler/
DMockHandlerFactoryTest.java37 Invocation invocation = super.getLastInvocation(); in handle_result_must_not_be_null_for_primitives() local
56 Invocation invocation = super.getLastInvocation(); in valid_handle_result_is_permitted() local

123456