Home
last modified time | relevance | path

Searched refs:toInvocationMatcher (Results 1 – 16 of 16) 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()
68 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportTooLittleInvocations()
84 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldMarkAsVerifiedInOrder()
93 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportTooLittleActual()
106 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportWithAllInvocationsStackTrace()
122 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldNotReportWithLastInvocationStackTraceIfNoInvocationsFound()
140 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportWithFirstUndesiredInvocationStackTrace()
153 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportTooManyActual()
166 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportNeverWantedButInvoked()
[all …]
DNumberOfInvocationsCheckerTest.java49 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportTooLittleActual()
62 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportAllInvocationsStackTrace()
77 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldNotReportWithLastInvocationStackTraceIfNoInvocationsFound()
95 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportWithAllInvocationsStackTrace()
110 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportTooManyActual()
123 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportNeverWantedButInvoked()
139 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldMarkInvocationsAsVerified()
DMissingInvocationInOrderCheckerTest.java54 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldPassWhenMatchingInteractionFound()
62 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportWantedButNotInvoked()
74 wanted = buildIntArgMethod().arg(2222).toInvocationMatcher(); in shouldReportArgumentsAreDifferent()
95 wanted = buildIntArgMethod().arg(2222).toInvocationMatcher(); in shouldReportWantedDiffersFromActual()
DMissingInvocationCheckerTest.java36 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldPassBecauseActualInvocationFound()
44 wanted = buildSimpleMethod().toInvocationMatcher(); in shouldReportWantedButNotInvoked()
58 wanted = buildIntArgMethod().arg(2222).toInvocationMatcher(); in shouldReportWantedInvocationDiffersFromActual()
/external/mockito/src/test/java/org/mockito/internal/junit/
DUnusedStubbingsTest.java41 … new StubbedInvocationMatcher(doesNothing(), new InvocationBuilder().toInvocationMatcher(), null), in unused_stubbings()
42 … new StubbedInvocationMatcher(doesNothing(), new InvocationBuilder().toInvocationMatcher(), null) in unused_stubbings()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DInvocationMarkerTest.java24 InvocationMatcher im = new InvocationBuilder().toInvocationMatcher(); in shouldMarkInvocationAsVerified()
57 InvocationMatcher im = new InvocationBuilder().toInvocationMatcher(); in shouldMarkInvocationsAsVerifiedInOrder()
DInvocationMatcherTest.java40 simpleMethod = new InvocationBuilder().mock(mock).simpleMethod().toInvocationMatcher(); in setup()
103 …tionMatcher invocation = new InvocationBuilder().method(method).arg(sameArg).toInvocationMatcher(); in should_not_be_similar_if_is_overloaded_but_used_with_the_same_arg()
114 …er invocation = new InvocationBuilder().mock(mock).method(method).arg("foo").toInvocationMatcher(); in should_be_similar_if_is_overloaded_but_used_with_different_arg()
DInvocationBuilder.java111 public InvocationMatcher toInvocationMatcher() { in toInvocationMatcher() method in InvocationBuilder
/external/mockito/src/test/java/org/mockito/internal/debugging/
DWarningsFinderTest.java42 …ationMatcher unstubbedInvocation = new InvocationBuilder().differentMethod().toInvocationMatcher(); in shouldPrintUnstubbedInvocation()
56 … InvocationMatcher wrongArg = new InvocationBuilder().arg("bar").mock(mock).toInvocationMatcher(); in shouldPrintStubWasUsedWithDifferentArgs()
DLoggingListenerTest.java107 listener.foundUnstubbed(new InvocationBuilder().toInvocationMatcher()); in hides_unstubbed()
/external/mockito/src/test/java/org/mockito/internal/stubbing/
DInvocationContainerImplTest.java99 container.setInvocationForPotentialStubbing(new InvocationBuilder().toInvocationMatcher()); in should_tell_if_has_invocation_for_potential_stubbing()
108 …containerStubOnly.setInvocationForPotentialStubbing(new InvocationBuilder().toInvocationMatcher()); in should_tell_if_has_invocation_for_potential_stubbing_stub_only()
DInvocationContainerImplStubbingTest.java36 …tionContainerImpl.setInvocationForPotentialStubbing(new InvocationBuilder().toInvocationMatcher()); in setup()
40 …ainerImplStubOnly.setInvocationForPotentialStubbing(new InvocationBuilder().toInvocationMatcher()); in setup()
/external/mockito/src/test/java/org/mockito/internal/verification/
DVerificationDataImplTest.java19 … InvocationMatcher toString = new InvocationBuilder().method("toString").toInvocationMatcher(); in shouldToStringBeNotVerifiable()
DOnlyTest.java68 … only.verify(new VerificationDataStub(new InvocationBuilder().toInvocationMatcher(), invocation)); in shouldNotMarkAsVerifiedWhenAssertionFailed()
DNoMoreInteractionsTest.java89 InvocationMatcher i = new InvocationBuilder().mock(mock).toInvocationMatcher(); in noMoreInteractionsExceptionMessageShouldDescribeMock()
/external/mockito/src/test/java/org/mockitoutil/
DTestBase.java91 return new InvocationBuilder().location(location).toInvocationMatcher();