public class ErrorReportingFrameworkMethod extends FrameworkMethodWithParameters
FrameworkMethodWithParameters and overwrites the parent class'
behavior to just rethrow an exception that was originally raised upon test data retrieval.
This enables JUnit extensions (e.g. TestRules) to get aware of such errors, which would otherwise remain
'hidden' in the JUnit framework.info, parameters, threadPoolSize, timeout| Constructor and Description |
|---|
ErrorReportingFrameworkMethod(Method method,
Throwable error,
String documentation) |
| Modifier and Type | Method and Description |
|---|---|
Object |
invokeExplosively(Object target,
Object... parameters) |
getThreadPoolSize, getTimeout, toStringpublic Object invokeExplosively(Object target, Object... parameters) throws Throwable
invokeExplosively in class FrameworkMethodWithParametersThrowableCopyright © 2010–2014 Volker Bergmann. All rights reserved.