patterntesting.runtime.junit
Class SmokeSuite

Package class diagram package SmokeSuite
java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<org.junit.runner.Runner>
          extended by org.junit.runners.Suite
              extended by patterntesting.runtime.junit.SmokeSuite
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class SmokeSuite
extends org.junit.runners.Suite

Suite implementation which understand the same annotations like the SmokeRunner class.
In JUnit 4.4 the used constructors of the superclass throws an InitializationError which was located in an internal package. Because this exception is deprecated since JUnit 4.5 we no longer try to support JUnit 4.4 (there were also other reasons we do not support JUnit 4.4 - e.g we need an additional SmokeSuite(Class) constructor which would not compile without tricks on new versions of JUnit).

Since:
1.2 (30.12.2011)
Author:
oliver

Nested Class Summary
 
Nested classes/interfaces inherited from class org.junit.runners.Suite
org.junit.runners.Suite.SuiteClasses
 
Constructor Summary
protected SmokeSuite(Class<?> klass, Class<?>[] suiteClasses)
          Instantiates a new smoke suite.
  SmokeSuite(Class<?> klass, List<org.junit.runner.Runner> runners)
          Instantiates a new smoke suite.
  SmokeSuite(Class<?> klass, org.junit.runners.model.RunnerBuilder builder)
          Instantiates a new smoke suite.
  SmokeSuite(org.junit.runners.model.RunnerBuilder builder, Class<?>[] classes)
          Instantiates a new smoke suite.
  SmokeSuite(org.junit.runners.model.RunnerBuilder builder, Class<?> klass, Class<?>[] suiteClasses)
          Instantiates a new smoke suite.
 
Method Summary
 void run(org.junit.runner.notification.RunNotifier notifier)
          Run.
 
Methods inherited from class org.junit.runners.Suite
describeChild, emptySuite, getChildren, runChild
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, collectInitializationErrors, filter, getDescription, getName, getRunnerAnnotations, getTestClass, runLeaf, setScheduler, 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

SmokeSuite

public SmokeSuite(Class<?> klass,
                  List<org.junit.runner.Runner> runners)
           throws org.junit.runners.model.InitializationError
Instantiates a new smoke suite.

Parameters:
klass - the klass
runners - the runners
Throws:
org.junit.runners.model.InitializationError - the initialization error

SmokeSuite

public SmokeSuite(Class<?> klass,
                  org.junit.runners.model.RunnerBuilder builder)
           throws org.junit.runners.model.InitializationError
Instantiates a new smoke suite.

Parameters:
klass - the klass
builder - the builder
Throws:
org.junit.runners.model.InitializationError - the initialization error

SmokeSuite

public SmokeSuite(org.junit.runners.model.RunnerBuilder builder,
                  Class<?> klass,
                  Class<?>[] suiteClasses)
           throws org.junit.runners.model.InitializationError
Instantiates a new smoke suite.

Parameters:
builder - the builder
klass - the klass
suiteClasses - the suite classes
Throws:
org.junit.runners.model.InitializationError - the initialization error

SmokeSuite

public SmokeSuite(org.junit.runners.model.RunnerBuilder builder,
                  Class<?>[] classes)
           throws org.junit.runners.model.InitializationError
Instantiates a new smoke suite.

Parameters:
builder - the builder
classes - the classes
Throws:
org.junit.runners.model.InitializationError - the initialization error

SmokeSuite

protected SmokeSuite(Class<?> klass,
                     Class<?>[] suiteClasses)
              throws org.junit.runners.model.InitializationError
Instantiates a new smoke suite.

Parameters:
klass - the klass
suiteClasses - the suite classes
Throws:
org.junit.runners.model.InitializationError - the initialization error
Method Detail

run

public void run(org.junit.runner.notification.RunNotifier notifier)
Run. It is only overwritten for better testing support.

Overrides:
run in class org.junit.runners.ParentRunner<org.junit.runner.Runner>
Parameters:
notifier - the notifier
See Also:
ParentRunner.run(org.junit.runner.notification.RunNotifier)


Copyright © 2002–2014 PatternTesting Team. All rights reserved.