org.junit.internal.runners
Class TestMethod

java.lang.Object
  extended by org.junit.internal.runners.TestMethod

Deprecated. Included for backwards compatibility with JUnit 4.4. Will be removed in the next release. Please use BlockJUnit4ClassRunner in place of JUnit4ClassRunner.

@Deprecated
public class TestMethod
extends java.lang.Object


Constructor Summary
TestMethod(java.lang.reflect.Method method, TestClass testClass)
          Deprecated.  
 
Method Summary
protected  java.lang.Class<? extends java.lang.Throwable> getExpectedException()
          Deprecated.  
 long getTimeout()
          Deprecated.  
 void invoke(java.lang.Object test)
          Deprecated.  
 boolean isIgnored()
          Deprecated.  
 
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)
Deprecated. 
Method Detail

isIgnored

public boolean isIgnored()
Deprecated. 

getTimeout

public long getTimeout()
Deprecated. 

getExpectedException

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

invoke

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