Home
last modified time | relevance | path

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

12345

/external/boringssl/src/util/fipstools/acvp/acvptool/test/
Dcheck_expected.go41 type invocation struct { struct
42 toolPath string
43 wrapperPath string
44 inPath string
45 expectedPath string
123 func worker(wg *sync.WaitGroup, work <-chan invocation, numFailed *uint32) {
134 func doTest(test invocation) error {
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DReturnsArgumentAt.java53 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
68 public void validateFor(InvocationOnMock invocation) { in validateFor()
74 private int inferWantedArgumentPosition(InvocationOnMock invocation) { in inferWantedArgumentPosition()
81 …private void validateIndexWithinInvocationRange(InvocationOnMock invocation, int argumentPosition)… in validateIndexWithinInvocationRange()
89 private void validateArgumentTypeCompatibility(Invocation invocation, int argumentPosition) { in validateArgumentTypeCompatibility()
109 …private boolean wantedArgumentPositionIsValidForInvocation(InvocationOnMock invocation, int argume… in wantedArgumentPositionIsValidForInvocation()
120 private Class<?> inferArgumentType(Invocation invocation, int argumentIndex) { in inferArgumentType()
DCallsRealMethods.java39 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
47 public void validateFor(InvocationOnMock invocation) { in validateFor()
DDoesNothing.java28 public Object answer(InvocationOnMock invocation){ in answer()
33 public void validateFor(InvocationOnMock invocation) { in validateFor()
DThrowsException.java35 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
54 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()
DReturns.java25 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
30 public void validateFor(InvocationOnMock invocation) { in validateFor()
/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/invocation/
DInvocationMatcherTest.java45 Invocation invocation = new InvocationBuilder().toInvocation(); in should_be_a_citizen_of_hashes() local
103 …InvocationMatcher invocation = new InvocationBuilder().method(method).arg(sameArg).toInvocationMat… in should_not_be_similar_if_is_overloaded_but_used_with_the_same_arg() local
114 …InvocationMatcher invocation = new InvocationBuilder().mock(mock).method(method).arg("foo").toInvo… in should_be_similar_if_is_overloaded_but_used_with_different_arg() local
123 Invocation invocation = new InvocationBuilder().args("1", 100).toInvocation(); in should_capture_arguments_from_invocation() local
139 Invocation invocation = getLastInvocation(); in should_match_varargs_using_any_varargs() local
153 Invocation invocation = getLastInvocation(); in should_capture_varargs_as_vararg() local
168 Invocation invocation = getLastInvocation(); in should_capture_arguments_when_args_count_does_NOT_match() local
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/
DAtLeastXNumberOfInvocationsCheckerTest.java31 Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation(); in shouldMarkActualInvocationsAsVerifiedInOrder() local
45 Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation(); in shouldReportTooLittleInvocationsInOrder() local
62 Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation(); in shouldMarkActualInvocationsAsVerified() local
75 Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation(); in shouldReportTooLittleInvocations() local
/external/mockito/src/test/java/org/mockito/
DInvocationFactoryTest.java31 Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, in call_method_that_throws_a_throwable() local
53 Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, in call_method_that_returns_a_string() local
69 Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, in deprecated_api_still_works() local
DStaticMockingExperimentTest.java61 …Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, withSett… in verify_static_method() local
89 …Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, withSett… in verification_failure_static_method() local
107 …Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, withSett… in stubbing_static_method() local
130 Invocation invocation = Mockito.framework().getInvocationFactory() in do_answer_stubbing_static_method() local
150 …Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, withSett… in verify_no_more_interactions() local
/external/mockito/src/main/java/org/mockito/internal/invocation/
DMatcherApplicationStrategy.java22 private final Invocation invocation; field in MatcherApplicationStrategy
28 …private MatcherApplicationStrategy(Invocation invocation, List<ArgumentMatcher<?>> matchers, Match… in MatcherApplicationStrategy()
52 …public static MatcherApplicationStrategy getMatcherApplicationStrategyFor(Invocation invocation, L… in getMatcherApplicationStrategyFor()
90 …private static MatcherApplicationType getMatcherApplicationType(Invocation invocation, List<Argume… in getMatcherApplicationType()
124 private static int varargLength(Invocation invocation) { in varargLength()
DInvocationMatcher.java32 private final Invocation invocation; field in InvocationMatcher
36 public InvocationMatcher(Invocation invocation, List<ArgumentMatcher> matchers) { in InvocationMatcher()
46 public InvocationMatcher(Invocation invocation) { in InvocationMatcher()
130 public void captureArgumentsFrom(Invocation invocation) { in captureArgumentsFrom()
DMatchersBinder.java23 …ocationMatcher bindMatchers(ArgumentMatcherStorage argumentMatcherStorage, Invocation invocation) { in bindMatchers()
34 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/main/java/org/mockito/internal/stubbing/
DInvocationContainerImpl.java45 public void setInvocationForPotentialStubbing(MatchableInvocation invocation) { in setInvocationForPotentialStubbing()
67 Invocation invocation = invocationForStubbing.getInvocation(); in addAnswer() local
84 Object answerTo(Invocation invocation) throws Throwable { in answerTo()
88 public StubbedInvocationMatcher findAnswerFor(Invocation invocation) { in findAnswerFor()
118 public void setMethodForStubbing(MatchableInvocation invocation) { in setMethodForStubbing()
/external/mockito/src/main/java/org/mockito/internal/handler/
DInvocationNotifierHandler.java33 public Object handle(Invocation invocation) throws Throwable { in handle()
45 private void notifyMethodCall(Invocation invocation, Object returnValue) { in notifyMethodCall()
55 private void notifyMethodCallException(Invocation invocation, Throwable exception) { in notifyMethodCallException()
DNotifiedMethodInvocationReport.java17 private final Invocation invocation; field in NotifiedMethodInvocationReport
29 public NotifiedMethodInvocationReport(Invocation invocation, Object returnedValue) { in NotifiedMethodInvocationReport()
42 public NotifiedMethodInvocationReport(Invocation invocation, Throwable throwable) { in NotifiedMethodInvocationReport()
/external/mockito/src/main/java/org/mockito/internal/listeners/
DStubbingLookupNotifier.java17 public static void notifyStubbedAnswerLookup(Invocation invocation, Stubbing stubbingFound, in notifyStubbedAnswerLookup()
30 final private Invocation invocation; field in StubbingLookupNotifier.Event
35 public Event(Invocation invocation, in Event()
/external/mockito/src/main/java/org/mockito/internal/reporting/
DPrintSettings.java46 public String print(List<ArgumentMatcher> matchers, Invocation invocation) { in print()
57 public String print(Invocation invocation) { in print()
61 public String print(MatchableInvocation invocation) { in print()
/external/mockito/src/main/java/org/mockito/internal/verification/
DSingleRegisteredInvocation.java16 private Invocation invocation; field in SingleRegisteredInvocation
18 public void add(Invocation invocation) { in add()
DDefaultRegisteredInvocations.java24 public void add(Invocation invocation) { in add()
61 public boolean isOut(Invocation invocation) { in isOut()
/external/mockito/src/test/java/org/mockito/internal/handler/
DMockHandlerFactoryTest.java36 Invocation invocation = super.getLastInvocation(); in handle_result_must_not_be_null_for_primitives() local
54 Invocation invocation = super.getLastInvocation(); in valid_handle_result_is_permitted() local
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DThrowsExceptionTest.java64 Invocation invocation = createMethodInvocation(); in should_invalidate_null_throwable() local
72 Invocation invocation = createMethodInvocation(); in should_throw_illegal_state_exception_if_null_answer() local

12345