Package 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 staticsuite()
method). For example:@RunWith(AllTests.class) public class ProductTests { public static junit.framework.Test suite() { ... } }
-
-
Constructor Summary
Constructors Constructor Description SuiteMethod(java.lang.Class<?> klass)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Test
testFromSuiteMethod(java.lang.Class<?> klass)
-
Methods inherited from class org.junit.internal.runners.JUnit38ClassRunner
createAdaptingListener, filter, getDescription, run, sort
-
-
-
-
Method Detail
-
testFromSuiteMethod
public static Test testFromSuiteMethod(java.lang.Class<?> klass) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-