com.atlassian.jira.pageobjects.config.junit4
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.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
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, describeChild, getTestRules, methodBlock, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout |
Methods inherited from class org.junit.runners.ParentRunner |
childrenInvoker, classRules, filter, getDescription, 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 |
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
getProduct
protected com.atlassian.pageobjects.TestedProduct<?> getProduct()
- Specified by:
getProduct
in class com.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 interface TransformableRunner<JiraWebTestRunner>
- Parameters:
transforms
- transforms to apply
- Returns:
- runner instance with transforms
- Throws:
org.junit.runners.model.InitializationError
- JUnit4 error
getChildren
protected List<org.junit.runners.model.FrameworkMethod> getChildren()
- Overrides:
getChildren
in class org.junit.runners.BlockJUnit4ClassRunner
classBlock
protected org.junit.runners.model.Statement classBlock(org.junit.runner.notification.RunNotifier notifier)
- Overrides:
classBlock
in class com.atlassian.webdriver.testing.runner.AbstractInjectingRunner
Copyright © 2002-2012 Atlassian. All Rights Reserved.