001package org.junit.runners; 002 003import org.junit.internal.runners.SuiteMethod; 004 005/** 006 * Runner for use with JUnit 3.8.x-style AllTests classes 007 * (those that only implement a static <code>suite()</code> 008 * method). For example: 009 * <pre> 010 * @RunWith(AllTests.class) 011 * public class ProductTests { 012 * public static junit.framework.Test suite() { 013 * ... 014 * } 015 * } 016 * </pre> 017 * 018 * @since 4.0 019 */ 020public class AllTests extends SuiteMethod { 021 /** 022 * Only called reflectively. Do not use programmatically. 023 */ 024 public AllTests(Class<?> klass) throws Throwable { 025 super(klass); 026 } 027}