public class JUnit3ErrorTranslator extends Object implements ExpectationErrorTranslator
ExpectationError
s into JUnit's
AssertionFailedError
s.Modifier and Type | Field and Description |
---|---|
static JUnit3ErrorTranslator |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Error |
translate(ExpectationError e)
Translates the given
ExpectationError into an error
type compatible with another testing framework. |
public static final JUnit3ErrorTranslator INSTANCE
public Error translate(ExpectationError e)
ExpectationErrorTranslator
ExpectationError
into an error
type compatible with another testing framework.translate
in interface ExpectationErrorTranslator
e
- The ExpectationError
to translate.Copyright © 2003–2018 jMock. All rights reserved.