Lines Matching refs:timeoutMillis
284 long timeoutMillis() {
518 * millisecond delay of {@code timeoutMillis()}.
521 assertThreadStaysAlive(thread, timeoutMillis());
539 * millisecond delay of {@code timeoutMillis()}.
542 assertThreadsStayAlive(timeoutMillis(), threads);
561 * {@code timeoutMillis()}.
564 assertFutureTimesOut(future, timeoutMillis());
570 void assertFutureTimesOut(Future future, long timeoutMillis) {
573 future.get(timeoutMillis, MILLISECONDS);
579 assertTrue(millisElapsedSince(startTime) >= timeoutMillis);
724 void waitForThreadToEnterWaitState(Thread thread, long timeoutMillis) {
734 else if (millisElapsedSince(startTime) > timeoutMillis) {
774 void awaitTermination(Thread t, long timeoutMillis) {
776 t.join(timeoutMillis);
953 // public void await(AtomicBoolean flag, long timeoutMillis) {
956 timeoutMillis)
1015 public Runnable possiblyInterruptedRunnable(final long timeoutMillis) {
1019 delay(timeoutMillis);
1053 public static TrackedRunnable trackedRunnable(final long timeoutMillis) {
1059 delay(timeoutMillis);