Searched refs:thrownException (Results 1 – 3 of 3) sorted by relevance
20 public TestFailure(Test failedTest, Throwable thrownException) { in TestFailure() argument22 fThrownException= thrownException; in TestFailure()33 public Throwable thrownException() { in thrownException() method in TestFailure48 thrownException().printStackTrace(writer); in trace()53 return thrownException().getMessage(); in exceptionMessage()56 return thrownException() instanceof AssertionFailedError; in isFailure()
26 public Failure(Description description, Throwable thrownException) { in Failure() argument27 fThrownException = thrownException; in Failure()
329 IOException thrownException = new IOException(); in testSuppressingSuppressorIfPossible() local337 throw thrownException; in testSuppressingSuppressorIfPossible()339 throw closer.rethrow(thrownException, IOException.class); in testSuppressingSuppressorIfPossible()341 assertEquals(0, getSuppressed(thrownException).length); in testSuppressingSuppressorIfPossible()345 assertSame(thrownException, expected); in testSuppressingSuppressorIfPossible()351 ImmutableSet<Throwable> suppressed = ImmutableSet.copyOf(getSuppressed(thrownException)); in testSuppressingSuppressorIfPossible()