Searched refs:getExpectedException (Results 1 – 8 of 8) sorted by relevance
42 protected Class<? extends Throwable> getExpectedException() { in getExpectedException() method in TestMethod52 return !getExpectedException().isAssignableFrom(exception.getClass()); in isUnexpected()56 return getExpectedException() != null; in expectsException()
110 …addFailure(new AssertionError("Expected exception: " + testMethod.getExpectedException().getName()… in runTestMethod()119 …String message = "Unexpected exception, expected<" + testMethod.getExpectedException().getName() +… in runTestMethod()
346 Class<? extends Throwable> expectedExceptionClass = getExpectedException(annotation); in possiblyExpectingExceptions()441 private Class<? extends Throwable> getExpectedException(Test annotation) { in getExpectedException() method in BlockJUnit4ClassRunner
META-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
META-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...