Class JiraWebTestRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
com.atlassian.webdriver.testing.runner.AbstractInjectingRunner
com.atlassian.webdriver.testing.runner.AbstractProductContextRunner
com.atlassian.jira.pageobjects.config.junit4.JiraWebTestRunner
- All Implemented Interfaces:
TransformableRunner<JiraWebTestRunner>
,org.junit.runner.Describable
,org.junit.runner.manipulation.Filterable
,org.junit.runner.manipulation.Orderable
,org.junit.runner.manipulation.Sortable
- Direct Known Subclasses:
SingleJiraWebTestRunner
public class JiraWebTestRunner
extends com.atlassian.webdriver.testing.runner.AbstractProductContextRunner
implements TransformableRunner<JiraWebTestRunner>
Base runner for JIRA web tests.
- Since:
- 4.4
-
Constructor Summary
ConstructorsConstructorDescriptionJiraWebTestRunner
(Class<?> klass, JiraTestedProduct product) JiraWebTestRunner
(Class<?> klass, JiraTestedProduct product, Iterable<org.junit.runner.notification.RunListener> listeners) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.junit.runners.model.Statement
classBlock
(org.junit.runner.notification.RunNotifier notifier) protected List
<org.junit.runners.model.FrameworkMethod> protected com.atlassian.pageobjects.TestedProduct
<?> withTransforms
(List<SuiteTransform> transforms) An instance of this runner applying given list of transforms to itself.Methods inherited from class com.atlassian.webdriver.testing.runner.AbstractProductContextRunner
getInjectionContext
Methods inherited from class com.atlassian.webdriver.testing.runner.AbstractInjectingRunner
methodInvoker
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, createTest, describeChild, getTestRules, isIgnored, methodBlock, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
Methods inherited from class org.junit.runner.Runner
testCount
-
Constructor Details
-
JiraWebTestRunner
public JiraWebTestRunner(Class<?> klass, JiraTestedProduct product, Iterable<org.junit.runner.notification.RunListener> listeners) throws org.junit.runners.model.InitializationError - Throws:
org.junit.runners.model.InitializationError
-
JiraWebTestRunner
public JiraWebTestRunner(Class<?> klass, JiraTestedProduct product) throws org.junit.runners.model.InitializationError - Throws:
org.junit.runners.model.InitializationError
-
-
Method Details
-
getProduct
protected com.atlassian.pageobjects.TestedProduct<?> getProduct()- Specified by:
getProduct
in classcom.atlassian.webdriver.testing.runner.AbstractProductContextRunner
-
withTransforms
public JiraWebTestRunner withTransforms(List<SuiteTransform> transforms) throws org.junit.runners.model.InitializationError Description copied from interface:TransformableRunner
An instance of this runner applying given list of transforms to itself.- Specified by:
withTransforms
in interfaceTransformableRunner<JiraWebTestRunner>
- Parameters:
transforms
- transforms to apply- Returns:
- runner instance with transforms
- Throws:
org.junit.runners.model.InitializationError
- JUnit4 error
-
getChildren
- Overrides:
getChildren
in classorg.junit.runners.BlockJUnit4ClassRunner
-
classBlock
protected org.junit.runners.model.Statement classBlock(org.junit.runner.notification.RunNotifier notifier) - Overrides:
classBlock
in classcom.atlassian.webdriver.testing.runner.AbstractInjectingRunner
-