org.junit.internal.runners
Class TestMethod

java.lang.Object
  extended by org.junit.internal.runners.TestMethod
Direct Known Subclasses:
TheoryMethod

public class TestMethod
extends java.lang.Object


Constructor Summary
TestMethod(java.lang.reflect.Method method, TestClass testClass)
           
 
Method Summary
protected  java.lang.Class<? extends java.lang.Throwable> getExpectedException()
           
 long getTimeout()
           
 void invoke(java.lang.Object test)
           
 boolean isIgnored()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestMethod

public TestMethod(java.lang.reflect.Method method,
                  TestClass testClass)
Method Detail

isIgnored

public boolean isIgnored()

getTimeout

public long getTimeout()

getExpectedException

protected java.lang.Class<? extends java.lang.Throwable> getExpectedException()

invoke

public void invoke(java.lang.Object test)
            throws java.lang.IllegalArgumentException,
                   java.lang.IllegalAccessException,
                   java.lang.reflect.InvocationTargetException
Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException