public class

SuiteMethod

extends JUnit38ClassRunner
java.lang.Object
   ↳ org.junit.runner.Runner
     ↳ org.junit.internal.runners.JUnit38ClassRunner
       ↳ org.junit.internal.runners.SuiteMethod
Known Direct Subclasses

Class Overview

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() {
       ...
    }
 }
 

Summary

Public Constructors
SuiteMethod(Class<?> klass)
Public Methods
static Test testFromSuiteMethod(Class<?> klass)
[Expand]
Inherited Methods
From class org.junit.internal.runners.JUnit38ClassRunner
From class org.junit.runner.Runner
From class java.lang.Object
From interface org.junit.runner.Describable
From interface org.junit.runner.manipulation.Filterable
From interface org.junit.runner.manipulation.Sortable

Public Constructors

public SuiteMethod (Class<?> klass)

Throws
Throwable

Public Methods

public static Test testFromSuiteMethod (Class<?> klass)

Throws
Throwable