com.atlassian.jira.webtest.webdriver.setup
Class EnvironmentAwareSuiteRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by com.atlassian.jira.functest.framework.suite.WebTestSuiteRunner
          extended by com.atlassian.jira.webtest.webdriver.setup.EnvironmentAwareSuiteRunner
All Implemented Interfaces:
EnvironmentAware, org.junit.runner.Describable

public class EnvironmentAwareSuiteRunner
extends WebTestSuiteRunner
implements EnvironmentAware

Runner based on cargo environment data instance.

Since:
4.4

Field Summary
 
Fields inherited from class com.atlassian.jira.functest.framework.suite.WebTestSuiteRunner
suite, testClasses, testPackage, webTestSuiteClass
 
Constructor Summary
EnvironmentAwareSuiteRunner(Class<?> webTestSuiteClass)
           
 
Method Summary
protected  org.junit.runner.Runner delegateRunner()
          Override this method to create the runner that will perform actual test run.
protected  Iterable<WebTestListener> listeners()
          A list of listeners to apply for this suite
 void setEnvironmentData(JIRAEnvironmentData environmentData)
           
 
Methods inherited from class com.atlassian.jira.functest.framework.suite.WebTestSuiteRunner
getDescription, run, suite
 
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

EnvironmentAwareSuiteRunner

public EnvironmentAwareSuiteRunner(Class<?> webTestSuiteClass)
                            throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError
Method Detail

delegateRunner

protected org.junit.runner.Runner delegateRunner()
Description copied from class: WebTestSuiteRunner
Override this method to create the runner that will perform actual test run.

Specified by:
delegateRunner in class WebTestSuiteRunner
Returns:
delegate runner for the suite of web test classes

setEnvironmentData

public void setEnvironmentData(JIRAEnvironmentData environmentData)
Specified by:
setEnvironmentData in interface EnvironmentAware

listeners

protected Iterable<WebTestListener> listeners()
Description copied from class: WebTestSuiteRunner
A list of listeners to apply for this suite

Overrides:
listeners in class WebTestSuiteRunner
Returns:
list of listeners


Copyright © 2002-2013 Atlassian. All Rights Reserved.