net.sf.twip.internal
Class FrameworkMethodWithArgs
java.lang.Object
org.junit.runners.model.FrameworkMethod
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...)
Constructor Summary |
FrameworkMethodWithArgs(FrameworkMethodWithArgs old,
java.lang.Object parameter)
Copy-Constructor that appends one parameter. |
FrameworkMethodWithArgs(java.lang.reflect.Method method)
Constructor that takes a method, defines the description to be its name,
and define no parameters; you'll have to call the other constructor to
derive a new instance with additional parameters, or invokeExplosively
will fail. |
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 |
FrameworkMethodWithArgs
public FrameworkMethodWithArgs(FrameworkMethodWithArgs old,
java.lang.Object parameter)
- Copy-Constructor that appends one parameter.
FrameworkMethodWithArgs
public FrameworkMethodWithArgs(java.lang.reflect.Method method)
- Constructor that takes a method, defines the description to be its name,
and define no parameters; you'll have to call the other constructor to
derive a new instance with additional parameters, or invokeExplosively
will fail.
getDescription
public java.lang.String getDescription()
invokeExplosively
public java.lang.Object invokeExplosively(java.lang.Object target,
java.lang.Object... parameters)
throws java.lang.Throwable
- Overrides:
invokeExplosively
in class org.junit.runners.model.FrameworkMethod
- Throws:
java.lang.Throwable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010. All Rights Reserved.