Package org.junit.runners
Class AllTests
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.internal.runners.JUnit38ClassRunner
-
- org.junit.internal.runners.SuiteMethod
-
- org.junit.runners.AllTests
-
- All Implemented Interfaces:
Describable
,Filterable
,Orderable
,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() { ... } }
- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description AllTests(java.lang.Class<?> klass)
Only called reflectively.
-
-
-
Constructor Detail
-
AllTests
public AllTests(java.lang.Class<?> klass) throws java.lang.Throwable
Only called reflectively. Do not use programmatically.- Throws:
java.lang.Throwable
-
-