HomeSort by relevance Sort by last modified time
    Searched refs:expectThrows (Results 1 - 7 of 7) sorted by null

  /external/testng/src/test/java/test/asserttests/
AssertTest.java 14 import static org.testng.Assert.expectThrows;
78 expectThrows(Throwable.class, nonThrowingRunnable());
84 expectThrows(Throwable.class, nonThrowingRunnable());
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));
  /art/test/139-register-natives/src/
Main.java 30 expectThrows(new TestSuper());
52 private static void expectThrows(Base b) {
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
CollectionRetainAllTester.java 131 expectThrows(empty);
162 expectThrows(disjoint);
192 expectThrows(nonEmptyProperSubset);
222 expectThrows(partialOverlap);
325 private void expectThrows(Target target) {
  /external/testng/src/main/java/org/testng/
Assert.java 932 * This interface facilitates the use of {@link #expectThrows} from Java 8. It allows
934 * expectThrows without wrapping, even if they declare checked exceptions.
966 expectThrows(throwableClass, runnable);
981 public static <T extends Throwable> T expectThrows(Class<T> throwableClass, ThrowingRunnable runnable) {
    [all...]
  /cts/tests/libcore/javautilcollections/libs/
guava-testlib-20.0.jar 
  /external/guice/lib/build/
guava-testlib-16.0.1.jar 
  /prebuilts/tools/common/m2/repository/org/testng/testng/6.9.10/
testng-6.9.10.jar 

Completed in 1093 milliseconds