HomeSort by relevance Sort by last modified time
    Searched full:throwingrunnable (Results 1 - 5 of 5) sorted by null

  /external/testng/src/test/java/test/asserttests/
AssertTest.java 4 import org.testng.Assert.ThrowingRunnable;
96 Throwable throwable = expectThrows(Throwable.class, throwingRunnable(npe));
105 expectThrows(IOException.class, throwingRunnable(npe));
113 expectThrows(IOException.class, throwingRunnable(npe));
127 expectThrows(IOException.class, throwingRunnable(npe));
137 private static ThrowingRunnable nonThrowingRunnable() {
138 return new ThrowingRunnable() {
144 private static ThrowingRunnable throwingRunnable(final Throwable t) {
145 return new ThrowingRunnable() {
    [all...]
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DefaultItemAnimatorTest.java 137 void runAndWait(int itemCount, int seconds, final ThrowingRunnable postRun) throws Throwable {
216 runAndWait(count, 1, new ThrowingRunnable() {
440 private interface ThrowingRunnable {
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
MoreExecutorsTest.java 328 service.schedule(new ThrowingRunnable(0, ex), 1, TimeUnit.MILLISECONDS);
340 ThrowingRunnable runnable = new ThrowingRunnable(5, ex);
346 runnable = new ThrowingRunnable(5, ex);
387 private static final class ThrowingRunnable implements Runnable {
392 ThrowingRunnable(int throwAfterCount, RuntimeException thrown) {
  /external/testng/src/main/java/org/testng/
Assert.java 938 public interface ThrowingRunnable {
949 public static void assertThrows(ThrowingRunnable runnable) {
965 public static <T extends Throwable> void assertThrows(Class<T> throwableClass, ThrowingRunnable runnable) {
981 public static <T extends Throwable> T expectThrows(Class<T> throwableClass, ThrowingRunnable runnable) {
    [all...]
  /prebuilts/tools/common/m2/repository/org/testng/testng/6.9.10/
testng-6.9.10.jar 

Completed in 494 milliseconds