1package org.junit.runners; 2 3import org.junit.internal.runners.SuiteMethod; 4 5/** Runner for use with JUnit 3.8.x-style AllTests classes 6 * (those that only implement a static <code>suite()</code> 7 * method). For example: 8 * <pre> 9 * @RunWith(AllTests.class) 10 * public class ProductTests { 11 * public static junit.framework.Test suite() { 12 * ... 13 * } 14 * } 15 * </pre> 16 */ 17public class AllTests extends SuiteMethod { 18 /** 19 * Only called reflectively. Do not use programmatically. 20 */ 21 public AllTests(Class<?> klass) throws Throwable { 22 super(klass); 23 } 24} 25