类 AllTests
- java.lang.Object
- org.junit.runner.Runner
- org.junit.internal.runners.JUnit38ClassRunner
- org.junit.internal.runners.SuiteMethod
- org.junit.runners.AllTests
- 所有已实现的接口:
Describable
,Filterable
,Sortable
public class AllTests extends org.junit.internal.runners.SuiteMethod
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() { ... } }
- 从以下版本开始:
- 4.0