Home
last modified time | relevance | path

Searched refs:thrownException (Results 1 – 5 of 5) sorted by relevance

/external/junit/src/main/java/junit/framework/
DTestFailure.java20 public TestFailure(Test failedTest, Throwable thrownException) { in TestFailure() argument
22 fThrownException = thrownException; in TestFailure()
35 public Throwable thrownException() { in thrownException() method in TestFailure
54 thrownException().printStackTrace(writer); in trace()
62 return thrownException().getMessage(); in exceptionMessage()
71 return thrownException() instanceof AssertionFailedError; in isFailure()
/external/junit/src/main/java/org/junit/runner/notification/
DFailure.java35 public Failure(Description description, Throwable thrownException) { in Failure() argument
36 this.fThrownException = thrownException; in Failure()
/external/guice/extensions/testlib/test/com/google/inject/testing/throwingproviders/
DCheckedProviderSubjectTest.java70 assertThat(provider).thrownException().isInstanceOf(SummerException.class); in thrownException_threwExpected_expectSuccess()
88 expectWhenTesting().that(provider).thrownException().isInstanceOf(expected); in thrownException_threwUnexpected_expectFailure()
101 expectWhenTesting().that(provider).thrownException(); in thrownException_gets_expectFailure()
/external/guava/guava-tests/test/com/google/common/io/
DCloserTest.java330 IOException thrownException = new IOException(); in testSuppressingSuppressorIfPossible() local
338 throw thrownException; in testSuppressingSuppressorIfPossible()
340 throw closer.rethrow(thrownException, IOException.class); in testSuppressingSuppressorIfPossible()
342 assertEquals(0, getSuppressed(thrownException).length); in testSuppressingSuppressorIfPossible()
346 assertSame(thrownException, expected); in testSuppressingSuppressorIfPossible()
352 ImmutableSet<Throwable> suppressed = ImmutableSet.copyOf(getSuppressed(thrownException)); in testSuppressingSuppressorIfPossible()
/external/guice/extensions/testlib/src/com/google/inject/testing/throwingproviders/
DCheckedProviderSubject.java72 public ThrowableSubject thrownException() { in thrownException() method in CheckedProviderSubject