org.jmock.integration.junit3
Class JUnit3ErrorTranslator

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

public class JUnit3ErrorTranslator
extends java.lang.Object
implements org.jmock.api.ExpectationErrorTranslator

Translates ExpectationErrors into JUnit's AssertionFailedErrors.

Author:
npryce

Field Summary
static JUnit3ErrorTranslator INSTANCE
           
 
Method Summary
 java.lang.Error translate(org.jmock.api.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 java.lang.Error translate(org.jmock.api.ExpectationError e)
Specified by:
translate in interface org.jmock.api.ExpectationErrorTranslator


Copyright © 2003-2008 jMock. All Rights Reserved.