Home
last modified time | relevance | path

Searched refs:mockingProgress (Results 1 – 6 of 6) sorted by relevance

/external/mockito/src/org/mockito/
DAdditionalMatchers.java44 private static MockingProgress mockingProgress = new ThreadSafeMockingProgress(); field in AdditionalMatchers
576 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnFalse(); in and()
591 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnZero(); in and()
606 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnChar(); in and()
621 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnZero(); in and()
636 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnZero(); in and()
651 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnZero(); in and()
666 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnZero(); in and()
681 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnZero(); in and()
698 return mockingProgress.getArgumentMatcherStorage().reportAnd().<T>returnNull(); in and()
[all …]
DMatchers.java107 private static MockingProgress mockingProgress = new ThreadSafeMockingProgress(); field in Matchers
878 return mockingProgress.getArgumentMatcherStorage().reportMatcher(matcher); in reportMatcher()
/external/mockito/src/org/mockito/internal/
DMockitoCore.java41 private final MockingProgress mockingProgress = new ThreadSafeMockingProgress(); field in MockitoCore
56 mockingProgress.mockingStarted(mock, typeToMock); in mock()
61 IOngoingStubbing stubbing = mockingProgress.pullOngoingStubbing(); in stub()
63 mockingProgress.reset(); in stub()
70 mockingProgress.stubbingStarted(); in stub()
75 mockingProgress.stubbingStarted(); in when()
85 mockingProgress.verificationStarted(new MockAwareVerificationMode(mock, mode)); in verify()
90 mockingProgress.validateState(); in reset()
91 mockingProgress.reset(); in reset()
92 mockingProgress.resetOngoingStubbing(); in reset()
[all …]
/external/mockito/src/org/mockito/internal/handler/
DMockHandlerImpl.java36 MockingProgress mockingProgress = new ThreadSafeMockingProgress(); field in MockHandlerImpl
42 this.mockingProgress = new ThreadSafeMockingProgress(); in MockHandlerImpl()
44 this.invocationContainerImpl = new InvocationContainerImpl(mockingProgress, mockSettings); in MockHandlerImpl()
51 mockingProgress.getArgumentMatcherStorage(), in handle()
57 VerificationMode verificationMode = mockingProgress.pullVerificationMode(); in handle()
60 mockingProgress.getArgumentMatcherStorage(), in handle()
64 mockingProgress.validateState(); in handle()
77 mockingProgress.verificationStarted(verificationMode); in handle()
84 mockingProgress.reportOngoingStubbing(ongoingStubbing); in handle()
/external/mockito/src/org/mockito/internal/progress/
DThreadSafeMockingProgress.java19 … private static ThreadLocal<MockingProgress> mockingProgress = new ThreadLocal<MockingProgress>(); field in ThreadSafeMockingProgress
22 if (mockingProgress.get() == null) { in threadSafely()
23 mockingProgress.set(new MockingProgressImpl()); in threadSafely()
25 return mockingProgress.get(); in threadSafely()
/external/mockito/src/org/mockito/internal/stubbing/
DInvocationContainerImpl.java28 private final MockingProgress mockingProgress; field in InvocationContainerImpl
34 …public InvocationContainerImpl(MockingProgress mockingProgress, MockCreationSettings mockSettings)… in InvocationContainerImpl() argument
35 this.mockingProgress = mockingProgress; in InvocationContainerImpl()
59 mockingProgress.stubbingCompleted(invocation); in addAnswer()