Home
last modified time | relevance | path

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

/external/junit/src/junit/framework/
DTestFailure.java20 public TestFailure(Test failedTest, Throwable thrownException) { in TestFailure() argument
22 fThrownException= thrownException; in TestFailure()
33 public Throwable thrownException() { in thrownException() method in TestFailure
48 thrownException().printStackTrace(writer); in trace()
53 return thrownException().getMessage(); in exceptionMessage()
56 return thrownException() instanceof AssertionFailedError; in isFailure()
/external/junit/src/org/junit/runner/notification/
DFailure.java26 public Failure(Description description, Throwable thrownException) { in Failure() argument
27 fThrownException = thrownException; in Failure()
/external/guava/guava-tests/test/com/google/common/io/
DCloserTest.java329 IOException thrownException = new IOException(); in testSuppressingSuppressorIfPossible() local
337 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()