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