|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jmock.lib.IdentityExpectationErrorTranslator
public class IdentityExpectationErrorTranslator
An ExpectationErrorTranslator
that doesn't do any translation.
It returns the ExpectationError
it is given.
Field Summary | |
---|---|
static IdentityExpectationErrorTranslator |
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 IdentityExpectationErrorTranslator INSTANCE
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |