Searched refs:thrownException (Results 1 – 5 of 5) sorted by relevance
20 public TestFailure(Test failedTest, Throwable thrownException) { in TestFailure() argument22 fThrownException = thrownException; in TestFailure()35 public Throwable thrownException() { in thrownException() method in TestFailure54 thrownException().printStackTrace(writer); in trace()62 return thrownException().getMessage(); in exceptionMessage()71 return thrownException() instanceof AssertionFailedError; in isFailure()
35 public Failure(Description description, Throwable thrownException) { in Failure() argument36 this.fThrownException = thrownException; in Failure()
70 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()
330 IOException thrownException = new IOException(); in testSuppressingSuppressorIfPossible() local338 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()
72 public ThrowableSubject thrownException() { in thrownException() method in CheckedProviderSubject