net.sf.twip.internal
Class FailedFrameworkMethod

java.lang.Object
  extended by org.junit.runners.model.FrameworkMethod
      extended by net.sf.twip.internal.FailedFrameworkMethod

public class FailedFrameworkMethod
extends org.junit.runners.model.FrameworkMethod

A dummy FrameworkMethod that just throws an exception on FrameworkMethod.invokeExplosively(Object, Object...)


Constructor Summary
FailedFrameworkMethod(Method method, Throwable throwable)
           
 
Method Summary
 Object invokeExplosively(Object target, Object... params)
           
 
Methods inherited from class org.junit.runners.model.FrameworkMethod
equals, getAnnotation, getAnnotations, getMethod, getName, hashCode, producesType, validatePublicVoid, validatePublicVoidNoArg
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailedFrameworkMethod

public FailedFrameworkMethod(Method method,
                             Throwable throwable)
Method Detail

invokeExplosively

public Object invokeExplosively(Object target,
                                Object... params)
                         throws Throwable
Overrides:
invokeExplosively in class org.junit.runners.model.FrameworkMethod
Throws:
Throwable


Copyright © 2011. All Rights Reserved.