net.sf.twip.internal
Class FrameworkMethodWithArgs

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

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

A FrameworkMethod that knows about a fixed set of parameters passed into FrameworkMethod.invokeExplosively(Object, Object...)


Method Summary
 Object invokeExplosively(Object target, Object... parameterValues)
           
static List<FrameworkMethodWithArgs> of(Method method)
           
 String toString()
           
 
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, wait, wait, wait
 

Method Detail

of

public static List<FrameworkMethodWithArgs> of(Method method)
Returns:
the list of all permutations of FrameworkMethodWithArgs that need to be called for this method.

invokeExplosively

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.