org.junit.runners
Class AllTests

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.internal.runners.OldTestClassRunner
          extended by org.junit.runners.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() {
       ...
    }
 }
 


Constructor Summary
AllTests(java.lang.Class<?> klass)
           
 
Method Summary
 
Methods inherited from class org.junit.internal.runners.OldTestClassRunner
getDescription, run
 
Methods inherited from class org.junit.runner.Runner
testCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllTests

public AllTests(java.lang.Class<?> klass)
         throws java.lang.Throwable
Throws:
java.lang.Throwable