AllTests (JUnit API)

Junit


org.junit.runners Class AllTests

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.internal.runners.JUnit38ClassRunner
          extended by org.junit.internal.runners.SuiteMethod
              extended by org.junit.runners.AllTests
所有已实现接口:
Describable, Filterable, Sortable

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

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


构造器摘要
AllTests(Class<?> klass)
          Only called reflectively.
 
方法摘要
 
类方法继承: org.junit.internal.runners.SuiteMethod
testFromSuiteMethod
 
类方法继承: org.junit.internal.runners.JUnit38ClassRunner
createAdaptingListener, filter, getDescription, run, sort
 
类方法继承: org.junit.runner.Runner
testCount
 
类方法继承: java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造器详细信息

AllTests

public AllTests(Class<?> klass)
         throws Throwable
Only called reflectively. Do not use programmatically.

抛出异常:
Throwable