Class ConditionalMatlabSuite
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<org.junit.runner.Runner>
-
- org.junit.runners.Suite
-
- org.eclipse.epsilon.emc.simulink.test.suite.ConditionalMatlabSuite
-
- All Implemented Interfaces:
org.junit.runner.Describable
,org.junit.runner.manipulation.Filterable
,org.junit.runner.manipulation.Orderable
,org.junit.runner.manipulation.Sortable
public class ConditionalMatlabSuite extends org.junit.runners.Suite
Don't runSimulinkTestSuite
if MATLAB is not available.- Since:
- 1.6
- Author:
- Sina Madani
-
-
Constructor Summary
Constructors Constructor Description ConditionalMatlabSuite(java.lang.Class<?> klass, java.lang.Class<?>[] suiteClasses)
ConditionalMatlabSuite(java.lang.Class<?> klass, java.util.List<org.junit.runner.Runner> runners)
ConditionalMatlabSuite(java.lang.Class<?> klass, org.junit.runners.model.RunnerBuilder builder)
ConditionalMatlabSuite(org.junit.runners.model.RunnerBuilder builder, java.lang.Class<?>[] classes)
ConditionalMatlabSuite(org.junit.runners.model.RunnerBuilder builder, java.lang.Class<?> klass, java.lang.Class<?>[] suiteClasses)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<org.junit.runner.Runner>
getChildren()
protected boolean
isIgnored(org.junit.runner.Runner child)
static boolean
isMatlabWorking()
-
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
-
-
-
-
Constructor Detail
-
ConditionalMatlabSuite
public ConditionalMatlabSuite(java.lang.Class<?> klass, org.junit.runners.model.RunnerBuilder builder) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
ConditionalMatlabSuite
public ConditionalMatlabSuite(org.junit.runners.model.RunnerBuilder builder, java.lang.Class<?>[] classes) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
ConditionalMatlabSuite
public ConditionalMatlabSuite(java.lang.Class<?> klass, java.lang.Class<?>[] suiteClasses) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
ConditionalMatlabSuite
public ConditionalMatlabSuite(java.lang.Class<?> klass, java.util.List<org.junit.runner.Runner> runners) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
ConditionalMatlabSuite
public ConditionalMatlabSuite(org.junit.runners.model.RunnerBuilder builder, java.lang.Class<?> klass, java.lang.Class<?>[] suiteClasses) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
-
Method Detail
-
isMatlabWorking
public static boolean isMatlabWorking()
-
isIgnored
protected boolean isIgnored(org.junit.runner.Runner child)
- Overrides:
isIgnored
in classorg.junit.runners.ParentRunner<org.junit.runner.Runner>
-
getChildren
protected java.util.List<org.junit.runner.Runner> getChildren()
- Overrides:
getChildren
in classorg.junit.runners.Suite
-
-