org.jmock.integration.junit3
Class JUnit3ErrorTranslator

java.lang.Object
  extended by org.jmock.integration.junit3.JUnit3ErrorTranslator
All Implemented Interfaces:
ExpectationErrorTranslator

public class JUnit3ErrorTranslator
extends Object
implements ExpectationErrorTranslator

Translates ExpectationErrors into JUnit's AssertionFailedErrors.

Author:
npryce

Field Summary
static JUnit3ErrorTranslator INSTANCE
           
 
Method Summary
 Error translate(ExpectationError e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final JUnit3ErrorTranslator INSTANCE
Method Detail

translate

public Error translate(ExpectationError e)
Specified by:
translate in interface ExpectationErrorTranslator


Copyright © 2003-2013 jMock. All Rights Reserved.