summaryrefslogtreecommitdiffstats
path: root/junit4/src/main/java/org/junit/runners/AllTests.java
blob: 50c02db8126b4a84be8c0bebc652aa7155427d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package org.junit.runners;

import org.junit.internal.runners.SuiteMethod;

/** Runner for use with JUnit 3.8.x-style AllTests classes
 * (those that only implement a static <code>suite()</code>
 * method). For example:
 * <pre>
 * &#064;RunWith(AllTests.class)
 * public class ProductTests {
 *    public static junit.framework.Test suite() {
 *       ...
 *    }
 * }
 * </pre>
 */
public class AllTests extends SuiteMethod {
	/**
	 * Only called reflectively. Do not use programmatically.
	 */
	public AllTests(Class<?> klass) throws Throwable {
		super(klass);
	}
}