ExpectationErrorTranslatorpublic class JUnit3ErrorTranslator extends Object implements ExpectationErrorTranslator
ExpectationErrors into JUnit's
AssertionFailedErrors.| Modifier and Type | Field | Description |
|---|---|---|
static JUnit3ErrorTranslator |
INSTANCE |
| Modifier and Type | Method | 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–2018 jMock. All rights reserved.