/external/mockito/src/main/java/org/mockito/ |
D | AdditionalMatchers.java | 8 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 613 mockingProgress().getArgumentMatcherStorage().reportAnd(); in and() 629 mockingProgress().getArgumentMatcherStorage().reportAnd(); in and() 645 mockingProgress().getArgumentMatcherStorage().reportAnd(); in and() 661 mockingProgress().getArgumentMatcherStorage().reportAnd(); in and() 677 mockingProgress().getArgumentMatcherStorage().reportAnd(); in and() 693 mockingProgress().getArgumentMatcherStorage().reportAnd(); in and() 709 mockingProgress().getArgumentMatcherStorage().reportAnd(); in and() 725 mockingProgress().getArgumentMatcherStorage().reportAnd(); in and() 743 mockingProgress().getArgumentMatcherStorage().reportAnd(); in and() [all …]
|
D | ArgumentMatchers.java | 28 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 1321 mockingProgress().getArgumentMatcherStorage().reportMatcher(matcher); in reportMatcher()
|
/external/mockito/src/main/java/org/mockito/internal/ |
D | MockitoCore.java | 48 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 70 mockingProgress().mockingStarted(mock, creationSettings); in mock() 75 MockingProgress mockingProgress = mockingProgress(); in when() local 76 mockingProgress.stubbingStarted(); in when() 78 OngoingStubbing<T> stubbing = (OngoingStubbing<T>) mockingProgress.pullOngoingStubbing(); in when() 80 mockingProgress.reset(); in when() 101 MockingProgress mockingProgress = mockingProgress(); in verify() local 102 VerificationMode actualMode = mockingProgress.maybeVerifyLazily(mode); in verify() 103 …mockingProgress.verificationStarted(new MockAwareVerificationMode(mock, actualMode, mockingProgres… in verify() 108 MockingProgress mockingProgress = mockingProgress(); in reset() local [all …]
|
/external/mockito/src/test/java/org/mockito/internal/progress/ |
D | MockingProgressImplTest.java | 19 private MockingProgress mockingProgress; field in MockingProgressImplTest 23 mockingProgress = new MockingProgressImpl(); in setup() 28 assertNull(mockingProgress.pullVerificationMode()); in shouldStartVerificationAndPullVerificationMode() 32 mockingProgress.verificationStarted(mode); in shouldStartVerificationAndPullVerificationMode() 34 assertSame(mode, mockingProgress.pullVerificationMode()); in shouldStartVerificationAndPullVerificationMode() 36 assertNull(mockingProgress.pullVerificationMode()); in shouldStartVerificationAndPullVerificationMode() 41 mockingProgress.verificationStarted(VerificationModeFactory.atLeastOnce()); in shouldCheckIfVerificationWasFinished() 43 mockingProgress.verificationStarted(VerificationModeFactory.atLeastOnce()); in shouldCheckIfVerificationWasFinished() 51 mockingProgress.addListener(null); in shouldNotifyListenerSafely() 54 mockingProgress.mockingStarted(null, null); in shouldNotifyListenerSafely()
|
D | ThreadSafeMockingProgressTest.java | 17 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 29 MockingProgress p = mockingProgress(); in shouldShareState() 33 p = mockingProgress(); in shouldShareState() 42 MockingProgress p = mockingProgress(); in shouldKnowWhenVerificationHasStarted()
|
/external/mockito/src/test/java/org/mockito/ |
D | StateMaster.java | 10 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 15 mockingProgress().reset(); in reset() 16 mockingProgress().resetOngoingStubbing(); in reset() 20 mockingProgress().validateState(); in validate() 27 mockingProgress().clearListeners(); in clearMockitoListeners()
|
D | MockitoTest.java | 10 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 25 assertThat(mockingProgress().pullOngoingStubbing()).isNull(); in shouldRemoveStubbableFromProgressAfterStubbing()
|
/external/mockito/src/main/java/org/mockito/internal/handler/ |
D | MockHandlerImpl.java | 23 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 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() 100 mockingProgress().reportOngoingStubbing(ongoingStubbing); in handle()
|
/external/mockito/src/main/java/org/mockito/internal/junit/ |
D | VerificationCollectorImpl.java | 7 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 41 … mockingProgress().setVerificationStrategy(MockingProgressImpl.getDefaultVerificationStrategy()); in apply() 48 … mockingProgress().setVerificationStrategy(MockingProgressImpl.getDefaultVerificationStrategy()); 60 mockingProgress().setVerificationStrategy(new VerificationStrategy() {
|
/external/mockito/src/main/java/org/mockito/internal/framework/ |
D | DefaultMockitoFramework.java | 17 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 23 mockingProgress().addListener(listener); in addListener() 29 mockingProgress().removeListener(listener); in removeListener()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/ |
D | StubberImpl.java | 21 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 87 mockingProgress().reset(); in doThrow() 94 mockingProgress().reset(); in doThrow() 105 mockingProgress().reset(); in doThrow()
|
D | BaseStubbing.java | 8 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 60 mockingProgress().reset(); in thenThrow()
|
D | InvocationContainerImpl.java | 26 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 68 mockingProgress().stubbingCompleted(); in addAnswer()
|
/external/mockito/src/test/java/org/mockito/internal/handler/ |
D | MockHandlerImplTest.java | 34 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 48 mockingProgress().verificationStarted(VerificationModeFactory.atLeastOnce()); in should_remove_verification_mode_even_when_invalid_matchers() 64 assertNull(mockingProgress().pullVerificationMode()); in should_remove_verification_mode_even_when_invalid_matchers()
|
/external/mockito/src/main/java/org/mockito/hamcrest/ |
D | MockitoHamcrest.java | 12 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 178 …mockingProgress().getArgumentMatcherStorage().reportMatcher(new HamcrestArgumentMatcher<T>(matcher… in reportMatcher()
|
/external/mockito/src/test/java/org/mockito/internal/stubbing/ |
D | InvocationContainerImplStubbingTest.java | 22 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 33 state = mockingProgress(); in setup()
|
/external/mockito/src/main/java/org/mockito/internal/progress/ |
D | ThreadSafeMockingProgress.java | 29 public final static MockingProgress mockingProgress() { in mockingProgress() method in ThreadSafeMockingProgress
|
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/extended/ |
D | ExtendedMockito.java | 35 import static org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress; 363 mockingProgress().getArgumentMatcherStorage(); in verifyInt()
|