/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/internal/ |
D | BackgroundExceptionThrower.java | 26 private static class ThrowingRunnable implements Runnable { class in BackgroundExceptionThrower 29 ThrowingRunnable(RuntimeException throwable) { in ThrowingRunnable() method in BackgroundExceptionThrower.ThrowingRunnable 42 new Handler(Looper.getMainLooper()).postDelayed(new ThrowingRunnable(throwable), 1000); in throwInBackground()
|
/external/testng/src/test/java/test/asserttests/ |
D | AssertTest.java | 4 import org.testng.Assert.ThrowingRunnable; 137 private static ThrowingRunnable nonThrowingRunnable() { in nonThrowingRunnable() 138 return new ThrowingRunnable() { in nonThrowingRunnable() 144 private static ThrowingRunnable throwingRunnable(final Throwable t) { in throwingRunnable() 145 return new ThrowingRunnable() { in throwingRunnable()
|
/external/junit/src/main/java/org/junit/rules/ |
D | ErrorCollector.java | 10 import org.junit.function.ThrowingRunnable; 118 … public void checkThrows(Class<? extends Throwable> expectedThrowable, ThrowingRunnable runnable) { in checkThrows()
|
/external/junit/src/main/java/org/junit/function/ |
D | ThrowingRunnable.java | 12 public interface ThrowingRunnable { interface
|
/external/junit/src/main/java/org/junit/ |
D | Test.java | 3 import org.junit.function.ThrowingRunnable;
|
D | Assert.java | 5 import org.junit.function.ThrowingRunnable; 980 ThrowingRunnable runnable) { in assertThrows() 999 ThrowingRunnable runnable) { in assertThrows()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | MoreExecutorsTest.java | 385 service.schedule(new ThrowingRunnable(0, ex), 1, TimeUnit.MILLISECONDS); in testListeningDecorator_scheduleFailure() 397 ThrowingRunnable runnable = new ThrowingRunnable(5, ex); in testListeningDecorator_schedulePeriodic() 403 runnable = new ThrowingRunnable(5, ex); in testListeningDecorator_schedulePeriodic() 446 private static final class ThrowingRunnable implements Runnable { class in MoreExecutorsTest 451 ThrowingRunnable(int throwAfterCount, RuntimeException thrown) { in ThrowingRunnable() method in MoreExecutorsTest.ThrowingRunnable
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | MoreExecutorsTest.java | 385 service.schedule(new ThrowingRunnable(0, ex), 1, TimeUnit.MILLISECONDS); in testListeningDecorator_scheduleFailure() 397 ThrowingRunnable runnable = new ThrowingRunnable(5, ex); in testListeningDecorator_schedulePeriodic() 403 runnable = new ThrowingRunnable(5, ex); in testListeningDecorator_schedulePeriodic() 446 private static final class ThrowingRunnable implements Runnable { class in MoreExecutorsTest 451 ThrowingRunnable(int throwAfterCount, RuntimeException thrown) { in ThrowingRunnable() method in MoreExecutorsTest.ThrowingRunnable
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
D | PerfStatsCollector.java | 67 public <E extends Exception> void measure(String eventName, ThrowingRunnable<E> runnable) in measure() 85 public interface ThrowingRunnable<F extends Exception> { interface in PerfStatsCollector
|
/external/testng/src/main/java/org/testng/ |
D | Assert.java | 938 public interface ThrowingRunnable { interface in Assert 949 public static void assertThrows(ThrowingRunnable runnable) { in assertThrows() 965 …public static <T extends Throwable> void assertThrows(Class<T> throwableClass, ThrowingRunnable ru… in assertThrows() 981 …public static <T extends Throwable> T expectThrows(Class<T> throwableClass, ThrowingRunnable runna… in expectThrows()
|