public class JUnit3ErrorTranslator extends java.lang.Object implements ExpectationErrorTranslator
ExpectationErrors into JUnit's
AssertionFailedErrors.| Modifier and Type | Field and Description |
|---|---|
static JUnit3ErrorTranslator |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Error |
translate(ExpectationError e)
Translates the given
ExpectationError into an error
type compatible with another testing framework. |
public static final JUnit3ErrorTranslator INSTANCE
public java.lang.Error translate(ExpectationError e)
ExpectationErrorTranslatorExpectationError into an error
type compatible with another testing framework.translate in interface ExpectationErrorTranslatore - The ExpectationError to translate.