Class 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 run SimulinkTestSuite if MATLAB is not available.
    Since:
    1.6
    Author:
    Sina Madani
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.junit.runners.Suite

        org.junit.runners.Suite.SuiteClasses
    • 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.Suite

        describeChild, emptySuite, runChild
      • 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
      • 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

      • 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 class org.junit.runners.ParentRunner<org.junit.runner.Runner>
      • getChildren

        protected java.util.List<org.junit.runner.Runner> getChildren()
        Overrides:
        getChildren in class org.junit.runners.Suite