org.mule.tck
Class MuleParameterized

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.junit.runners.Parameterized
                  extended by org.mule.tck.MuleParameterized
All Implemented Interfaces:
Describable, Filterable, Sortable

public class MuleParameterized
extends Parameterized

MuleParameterized adds test exclusions to the Parameterized class. This is used for running JUnit4 tests with parameters. The test exclusion logic in AbstractMuleTestCase does not work in JUnit4 most likely due to the fact the JUnit4 does not extend the TestCase class when using annotations, which are necessary for parameterized testing.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.junit.runners.Parameterized
Parameterized.Parameters
 
Nested classes/interfaces inherited from class org.junit.runners.Suite
Suite.SuiteClasses
 
Field Summary
protected static Log logger
           
 
Constructor Summary
MuleParameterized(Class<?> klass)
           
 
Method Summary
 void getExcluded()
          Read the test exclusions file and find the tests to be excluded from running.
 
Methods inherited from class org.junit.runners.Parameterized
getChildren
 
Methods inherited from class org.junit.runners.Suite
describeChild, emptySuite, runChild
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, collectInitializationErrors, filter, getDescription, getName, getTestClass, run, 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
 

Field Detail

logger

protected static transient Log logger
Constructor Detail

MuleParameterized

public MuleParameterized(Class<?> klass)
                  throws Throwable
Throws:
Throwable
Method Detail

getExcluded

public void getExcluded()
Read the test exclusions file and find the tests to be excluded from running.



Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.