Home
last modified time | relevance | path

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

/external/junit/src/main/java/org/junit/internal/runners/
DTestMethod.java42 protected Class<? extends Throwable> getExpectedException() { in getExpectedException() method in TestMethod
52 return !getExpectedException().isAssignableFrom(exception.getClass()); in isUnexpected()
56 return getExpectedException() != null; in expectsException()
DMethodRoadie.java110 …addFailure(new AssertionError("Expected exception: " + testMethod.getExpectedException().getName()… in runTestMethod()
119 …String message = "Unexpected exception, expected<" + testMethod.getExpectedException().getName() +… in runTestMethod()
/external/junit/src/main/java/org/junit/runners/
DBlockJUnit4ClassRunner.java303 getExpectedException(annotation)) : next; in possiblyExpectingExceptions()
419 private Class<? extends Throwable> getExpectedException(Test annotation) { in getExpectedException() method in BlockJUnit4ClassRunner
428 return getExpectedException(annotation) != null; in expectsException()