public class CitrusJUnit4Runner
extends org.springframework.test.context.junit4.SpringJUnit4ClassRunner
Modifier and Type | Class and Description |
---|---|
static class |
CitrusJUnit4Runner.CitrusFrameworkMethod
Special framework method also holding test name and package coming from
CitrusTest or CitrusXmlTest annotation. |
Constructor and Description |
---|
CitrusJUnit4Runner(Class<?> clazz)
Default constructor using class to run.
|
Modifier and Type | Method and Description |
---|---|
protected List<org.junit.runners.model.FrameworkMethod> |
getChildren() |
protected org.junit.runners.model.Statement |
methodInvoker(org.junit.runners.model.FrameworkMethod frameworkMethod,
Object testInstance) |
protected void |
validateTestMethods(List<Throwable> errors) |
createTest, createTestContextManager, getDescription, getExpectedException, getJUnitTimeout, getSpringTimeout, getTestContextManager, isTestMethodIgnored, methodBlock, possiblyExpectingExceptions, run, runChild, withAfterClasses, withAfters, withBeforeClasses, withBefores, withPotentialRepeat, withPotentialTimeout
collectInitializationErrors, computeTestMethods, describeChild, getTestRules, isIgnored, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateZeroArgConstructor
public CitrusJUnit4Runner(Class<?> clazz) throws org.junit.runners.model.InitializationError
clazz
- the test class to be runorg.junit.runners.model.InitializationError
protected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod frameworkMethod, Object testInstance)
methodInvoker
in class org.junit.runners.BlockJUnit4ClassRunner
protected List<org.junit.runners.model.FrameworkMethod> getChildren()
getChildren
in class org.junit.runners.BlockJUnit4ClassRunner
Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.