org.junit.internal.runners
Class SuiteMethod
java.lang.Object
org.junit.runner.Runner
org.junit.internal.runners.JUnit38ClassRunner
org.junit.internal.runners.SuiteMethod
- All Implemented Interfaces:
- Describable, Filterable, Sortable
- Direct Known Subclasses:
- AllTests
public class SuiteMethod
- extends JUnit38ClassRunner
Runner for use with JUnit 3.8.x-style AllTests classes
(those that only implement a static suite()
method). For example:
@RunWith(AllTests.class)
public class ProductTests {
public static junit.framework.Test suite() {
...
}
}
SuiteMethod
public SuiteMethod(Class<?> klass)
throws Throwable
- Throws:
Throwable
testFromSuiteMethod
public static Test testFromSuiteMethod(Class<?> klass)
throws Throwable
- Throws:
Throwable