Class ParametrizedMagicDrawTestRunner

  • All Implemented Interfaces:
    org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

    @OpenApiAll
    public class ParametrizedMagicDrawTestRunner
    extends junitparams.JUnitParamsRunner
    Test runner which starts application and checks for memory leaks after each test finish. To use this class annotate test class with such text: @RunWith(ParametrizedMagicDrawTestRunner.class)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.List<org.junit.rules.TestRule> getTestRules​(java.lang.Object target)  
      • Methods inherited from class junitparams.JUnitParamsRunner

        $, collectInitializationErrors, computeTestMethods, describeMethod, getDescription, methodInvoker, runChild
      • Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner

        createTest, describeChild, getChildren, isIgnored, methodBlock, possiblyExpectingExceptions, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
      • Methods inherited from class org.junit.runners.ParentRunner

        childrenInvoker, classBlock, classRules, createTestClass, filter, getName, getRunnerAnnotations, 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
    • Constructor Detail

      • ParametrizedMagicDrawTestRunner

        public ParametrizedMagicDrawTestRunner​(java.lang.Class<?> aClass)
                                        throws org.junit.runners.model.InitializationError
        Throws:
        org.junit.runners.model.InitializationError
    • Method Detail

      • getTestRules

        protected java.util.List<org.junit.rules.TestRule> getTestRules​(java.lang.Object target)
        Overrides:
        getTestRules in class org.junit.runners.BlockJUnit4ClassRunner