public class JUnit3ErrorTranslator extends Object implements ExpectationErrorTranslator
ExpectationErrors into JUnit's
AssertionFailedErrors.| 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)
ExpectationErrorTranslatorExpectationError into an error
type compatible with another testing framework.translate in interface ExpectationErrorTranslatore - The ExpectationError to translate.Copyright © 2003–2022 jMock. All rights reserved.