org.junit.runners

Class AllTests


public class AllTests
extends org.junit.internal.runners.OldTestClassRunner

Runner for use with JUnit 3.8.x-style AllTests classes (those that only implement a static suite() method). For example:
 @RunWith(AllTests.class)
 public class ProductTests {
    public static junit.framework.Test suite() {
       ...
    }
 }
 

Method Summary

static junit.framework.Test
testFromSuiteMethod(Class klass)

Methods inherited from class org.junit.internal.runners.OldTestClassRunner

Description getDescription, createAdaptingListener, void run

Methods inherited from class org.junit.runner.Runner

getDescription, run, testCount

Method Details

testFromSuiteMethod

public static junit.framework.Test testFromSuiteMethod(Class klass)
            throws Throwable