Package com.nomagic.magicdraw.tests
Class ParametrizedMagicDrawTestRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
junitparams.JUnitParamsRunner
com.nomagic.magicdraw.tests.ParametrizedMagicDrawTestRunner
- All Implemented Interfaces:
org.junit.runner.Describable
,org.junit.runner.manipulation.Filterable
,org.junit.runner.manipulation.Orderable
,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)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<org.junit.rules.TestRule>
getTestRules
(Object target) Methods inherited from class junitparams.JUnitParamsRunner
$, collectInitializationErrors, computeTestMethods, describeMethod, getDescription, methodInvoker, runChild
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
createTest, 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, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
Methods inherited from class org.junit.runner.Runner
testCount
-
Constructor Details
-
ParametrizedMagicDrawTestRunner
public ParametrizedMagicDrawTestRunner(Class<?> aClass) throws org.junit.runners.model.InitializationError - Throws:
org.junit.runners.model.InitializationError
-
-
Method Details
-
getTestRules
- Overrides:
getTestRules
in classorg.junit.runners.BlockJUnit4ClassRunner
-