Home
last modified time | relevance | path

Searched refs:buildSimpleMethod (Results 1 – 4 of 4) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/verification/checkers/
DNumberOfInvocationsInOrderCheckerTest.java50 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldPassIfWantedIsZeroAndMatchingChunkIsEmpty()
58 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldPassIfChunkMatches()
59 invocations = asList(buildSimpleMethod().toInvocation()); in shouldPassIfChunkMatches()
65 Invocation first = buildSimpleMethod().toInvocation(); in shouldReportTooLittleInvocations()
66 Invocation second = buildSimpleMethod().toInvocation(); in shouldReportTooLittleInvocations()
68 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportTooLittleInvocations()
81 Invocation invocation = buildSimpleMethod().toInvocation(); in shouldMarkAsVerifiedInOrder()
84 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldMarkAsVerifiedInOrder()
93 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportTooLittleActual()
94 … invocations = asList(buildSimpleMethod().toInvocation(), buildSimpleMethod().toInvocation()); in shouldReportTooLittleActual()
[all …]
DNumberOfInvocationsCheckerTest.java49 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportTooLittleActual()
50 … invocations = asList(buildSimpleMethod().toInvocation(), buildSimpleMethod().toInvocation()); in shouldReportTooLittleActual()
62 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportWithLastInvocationStackTrace()
63 … invocations = asList(buildSimpleMethod().toInvocation(), buildSimpleMethod().toInvocation()); in shouldReportWithLastInvocationStackTrace()
77 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldNotReportWithLastInvocationStackTraceIfNoInvocationsFound()
90 Invocation first = buildSimpleMethod().toInvocation(); in shouldReportWithFirstUndesiredInvocationStackTrace()
91 Invocation second = buildSimpleMethod().toInvocation(); in shouldReportWithFirstUndesiredInvocationStackTrace()
92 Invocation third = buildSimpleMethod().toInvocation(); in shouldReportWithFirstUndesiredInvocationStackTrace()
95 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportWithFirstUndesiredInvocationStackTrace()
104 Invocation first = buildSimpleMethod().toInvocation(); in shouldReportTooManyActual()
[all …]
DMissingInvocationCheckerTest.java36 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldPassBecauseActualInvocationFound()
37 invocations = asList(buildSimpleMethod().toInvocation()); in shouldPassBecauseActualInvocationFound()
44 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportWantedButNotInvoked()
75 private InvocationBuilder buildSimpleMethod() { in buildSimpleMethod() method in MissingInvocationCheckerTest
DMissingInvocationInOrderCheckerTest.java54 invocations = asList(buildSimpleMethod().toInvocation()); in shouldPassWhenMatchingInteractionFound()
55 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldPassWhenMatchingInteractionFound()
63 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportWantedButNotInvoked()
113 private InvocationBuilder buildSimpleMethod() { in buildSimpleMethod() method in MissingInvocationInOrderCheckerTest