com.agical.rmock.core.exception.manager
Class ExceptionVerifierImpl

java.lang.Object
  extended by com.agical.rmock.core.exception.manager.ExceptionVerifierImpl
All Implemented Interfaces:
TestCaseListener, ExceptionVerifier, Verifiable

public class ExceptionVerifierImpl
extends java.lang.Object
implements Verifiable, ExceptionVerifier, TestCaseListener

Author:
brolund (c) 2005 Agical AB

Constructor Summary
ExceptionVerifierImpl()
           
 
Method Summary
 void addSystemException(RMockSystemException systemException)
           
 void afterTestCase()
           
 void beforeTestCase(java.lang.Object testInstance, java.lang.String testName)
           
 void beginVerify()
           
 void endVerify()
           
 void setExceptionVerifierListener(ExceptionVerifierListener exceptionVerifierListener)
           
 void setUserExceptionExpectation(Expression expression)
           
 void verifyActualThrowable(java.lang.Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionVerifierImpl

public ExceptionVerifierImpl()
Method Detail

addSystemException

public void addSystemException(RMockSystemException systemException)
Specified by:
addSystemException in interface ExceptionVerifier

beginVerify

public void beginVerify()
Specified by:
beginVerify in interface Verifiable

endVerify

public void endVerify()
Specified by:
endVerify in interface Verifiable

beforeTestCase

public void beforeTestCase(java.lang.Object testInstance,
                           java.lang.String testName)
Specified by:
beforeTestCase in interface TestCaseListener

afterTestCase

public void afterTestCase()
Specified by:
afterTestCase in interface TestCaseListener

setUserExceptionExpectation

public void setUserExceptionExpectation(Expression expression)
Specified by:
setUserExceptionExpectation in interface ExceptionVerifier

verifyActualThrowable

public void verifyActualThrowable(java.lang.Throwable throwable)
                           throws java.lang.Throwable
Specified by:
verifyActualThrowable in interface ExceptionVerifier
Throws:
java.lang.Throwable

setExceptionVerifierListener

public void setExceptionVerifierListener(ExceptionVerifierListener exceptionVerifierListener)


Copyright © 2005-2010 Agical AB. All Rights Reserved.