|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmock.lib.AssertionErrorTranslator
public class AssertionErrorTranslator
Translates ExpectationErrors into
AssertionErrors that several
test frameworks, including JUnit 4 and TestNG, use to report
errors.
| Field Summary | |
|---|---|
static AssertionErrorTranslator |
INSTANCE
|
| Method Summary | |
|---|---|
java.lang.Error |
translate(ExpectationError e)
Translates the given ExpectationError into an error
type compatible with another testing framework. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final AssertionErrorTranslator INSTANCE
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||