Home
last modified time | relevance | path

Searched refs:delayedExecution (Results 1 – 3 of 3) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/verification/
DVerificationWithTimeoutTest.java46 private DelayedExecution delayedExecution; field in VerificationWithTimeoutTest
50 delayedExecution = new DelayedExecution(); in setUp()
55 delayedExecution.close(); in tearDown()
61 delayedExecution.callAsync(30, MILLISECONDS, callMock('c')); in shouldVerifyWithTimeout()
74 delayedExecution.callAsync(30, MILLISECONDS, callMock('c')); in shouldFailVerificationWithTimeout()
85 delayedExecution.callAsync(10, MILLISECONDS, callMock('c')); in shouldAllowMixingOtherModesWithTimeout()
86 delayedExecution.callAsync(10, MILLISECONDS, callMock('c')); in shouldAllowMixingOtherModesWithTimeout()
97 delayedExecution.callAsync(10, MILLISECONDS, callMock('c')); in shouldAllowMixingOtherModesWithTimeoutAndFail()
98 delayedExecution.callAsync(10, MILLISECONDS, callMock('c')); in shouldAllowMixingOtherModesWithTimeoutAndFail()
109 delayedExecution.callAsync(30, MILLISECONDS, callMock('c')); in shouldAllowMixingOnlyWithTimeout()
[all …]
DVerificationAfterDelayTest.java51 private DelayedExecution delayedExecution; field in VerificationAfterDelayTest
62 delayedExecution = new DelayedExecution(); in setUp()
68 delayedExecution.close(); in tearDown()
74 delayedExecution.callAsync(30, MILLISECONDS, callMock ); in shouldVerifyNormallyWithSpecificTimes()
83 delayedExecution.callAsync(30, MILLISECONDS, callMock ); in shouldVerifyNormallyWithAtLeast()
92 delayedExecution.callAsync(30, MILLISECONDS, callMock ); in shouldFailVerificationWithWrongTimes()
103 delayedExecution.callAsync(30, MILLISECONDS, callMock ); in shouldWaitTheFullTimeIfTheTestCouldPass()
120 delayedExecution.callAsync(30, MILLISECONDS, callMock ); in shouldStopEarlyIfTestIsDefinitelyFailed()
DDelayedExecution.java29 executor.submit(delayedExecution(r, deadline)); in callAsync()
40 private static Runnable delayedExecution(final Runnable r, final long deadline) { in delayedExecution() method in DelayedExecution