org.junit.internal.runners
Class TestClass
java.lang.Object
org.junit.internal.runners.TestClass
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 TestClass
- extends java.lang.Object
|
Constructor Summary |
TestClass(java.lang.Class<?> klass)
Deprecated. |
|
Method Summary |
java.util.List<java.lang.reflect.Method> |
getAnnotatedMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
Deprecated. |
java.lang.reflect.Constructor<?> |
getConstructor()
Deprecated. |
java.lang.Class<?> |
getJavaClass()
Deprecated. |
java.lang.String |
getName()
Deprecated. |
java.util.List<java.lang.reflect.Method> |
getTestMethods()
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestClass
public TestClass(java.lang.Class<?> klass)
- Deprecated.
getTestMethods
public java.util.List<java.lang.reflect.Method> getTestMethods()
- Deprecated.
getAnnotatedMethods
public java.util.List<java.lang.reflect.Method> getAnnotatedMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
- Deprecated.
getConstructor
public java.lang.reflect.Constructor<?> getConstructor()
throws java.lang.SecurityException,
java.lang.NoSuchMethodException
- Deprecated.
- Throws:
java.lang.SecurityException
java.lang.NoSuchMethodException
getJavaClass
public java.lang.Class<?> getJavaClass()
- Deprecated.
getName
public java.lang.String getName()
- Deprecated.