public class JUnit3ErrorTranslator extends java.lang.Object implements ExpectationErrorTranslator
ExpectationError
s into JUnit's
AssertionFailedError
s.Modifier and Type | Field and Description |
---|---|
static JUnit3ErrorTranslator |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
JUnit3ErrorTranslator() |
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)
ExpectationErrorTranslator
ExpectationError
into an error
type compatible with another testing framework.translate
in interface ExpectationErrorTranslator
e
- The ExpectationError
to translate.