org.eclipse.emf.emfstore.fuzzy.emf.internal.junit
Class FuzzyTestClassRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
          extended by org.junit.runners.BlockJUnit4ClassRunner
              extended by org.eclipse.emf.emfstore.fuzzy.emf.internal.junit.FuzzyTestClassRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class FuzzyTestClassRunner
extends org.junit.runners.BlockJUnit4ClassRunner

A Runner for each TestClass. Used in the ESFuzzyRunner.

Author:
Julian Sommerfeldt

Constructor Summary
FuzzyTestClassRunner(Class<?> type, ESFuzzyDataProvider<?> dataProvider, FrameworkFields frameworkFields, ESFuzzyUtil util, int counter)
          Constructor.
 
Method Summary
 Object createTest()
           
 List<org.junit.runners.model.FrameworkMethod> getChildren()
           
 
Methods inherited from class org.junit.runners.ParentRunner
filter, getDescription, getTestClass, run, setScheduler, sort
 
Methods inherited from class org.junit.runner.Runner
testCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FuzzyTestClassRunner

public FuzzyTestClassRunner(Class<?> type,
                            ESFuzzyDataProvider<?> dataProvider,
                            FrameworkFields frameworkFields,
                            ESFuzzyUtil util,
                            int counter)
                     throws org.junit.runners.model.InitializationError
Constructor.

Parameters:
type - The testclass
dataProvider - The ESFuzzyDataProvider providing the data to put into the dataField
frameworkFields - the FrameworkFields instance holding different configuration options
util - The ESFuzzyUtil class
counter - The counter of the run
Throws:
org.junit.runners.model.InitializationError - If there was a problem during the initialization of the test
Method Detail

createTest

public Object createTest()
Overrides:
createTest in class org.junit.runners.BlockJUnit4ClassRunner

getChildren

public List<org.junit.runners.model.FrameworkMethod> getChildren()
Overrides:
getChildren in class org.junit.runners.BlockJUnit4ClassRunner


Copyright © 2015. All Rights Reserved.