org.eclipse.swtbot.swt.finder.junit
Class SWTBotJUnit4Suite

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<Runner>
          extended by org.junit.runners.Suite
              extended by org.eclipse.swtbot.swt.finder.junit.SWTBotJUnit4Suite
All Implemented Interfaces:
Describable, Filterable, Sortable

Deprecated. Please use Suite instead. @RunWith(Suite.class)

public final class SWTBotJUnit4Suite
extends Suite

A suite runner that captures screenshots on test failures. Clients are not supposed to subclass this. Typical usage is:

 @RunWith(SWTBotJUnit4Suite.class)
 @SuiteClasses( { FooTest.class, BarTest.class })
 public class MySuite {
 }
 

Version:
$Id:
Author:
Hans Schwaebli (Bug 273403)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.junit.runners.Suite
Suite.SuiteClasses
 
Constructor Summary
SWTBotJUnit4Suite(Class<?> klass, Class<?>[] annotatedClasses)
          Deprecated.  
SWTBotJUnit4Suite(Class<?> klass, RunnerBuilder builder)
          Deprecated.  
 
Method Summary
 void run(RunNotifier notifier)
          Deprecated. Decorates the run method of the super class with a screenshot capturer.
 
Methods inherited from class org.junit.runners.Suite
describeChild, getChildren, runChild
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, collectInitializationErrors, filter, getDescription, getName, getTestClass, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses
 
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

SWTBotJUnit4Suite

public SWTBotJUnit4Suite(Class<?> klass,
                         RunnerBuilder builder)
                  throws Exception
Deprecated. 
Throws:
Exception

SWTBotJUnit4Suite

public SWTBotJUnit4Suite(Class<?> klass,
                         Class<?>[] annotatedClasses)
                  throws Exception
Deprecated. 
Throws:
Exception
Method Detail

run

public void run(RunNotifier notifier)
Deprecated. 
Decorates the run method of the super class with a screenshot capturer.

Overrides:
run in class ParentRunner<Runner>
See Also:
ParentRunner.run(RunNotifier)