com.atlassian.confluence.qunit
Class QUnitEditorWebDriverTestSuite

java.lang.Object
  extended by junit.framework.TestSuite
      extended by com.atlassian.confluence.qunit.QUnitEditorWebDriverTestSuite
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
QUnitQuickCommentEditorWebDriverTestSuite, QUnitQuickEditEditorWebDriverTestSuite

public class QUnitEditorWebDriverTestSuite
extends junit.framework.TestSuite

Represents a directory of JavaScript QUnit test files run against a particular Confluence screen. When created, the QUnit tests (represented as QUnitFileSuites) are run immediately so that the number of tests will be known by the time the JUnit test() method is called. Uses an extension of AbstractSeleniumTest to setup and tear down the tests, including taking screenshots and HTML dumps.


Constructor Summary
QUnitEditorWebDriverTestSuite(java.lang.String[] directoryNames, User user, Space space)
           
QUnitEditorWebDriverTestSuite(java.lang.String directoryName, User user, Space space)
           
 
Method Summary
protected  com.atlassian.confluence.qunit.WebDriverEnvironmentCreator getEnvironmentCreator()
           
protected  QUnitTestProduct wrapTestProduct(ConfluenceTestedProduct product)
           
 
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QUnitEditorWebDriverTestSuite

public QUnitEditorWebDriverTestSuite(java.lang.String directoryName,
                                     User user,
                                     Space space)
                              throws java.lang.Exception
Throws:
java.lang.Exception

QUnitEditorWebDriverTestSuite

public QUnitEditorWebDriverTestSuite(java.lang.String[] directoryNames,
                                     User user,
                                     Space space)
                              throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

wrapTestProduct

protected QUnitTestProduct wrapTestProduct(ConfluenceTestedProduct product)

getEnvironmentCreator

protected com.atlassian.confluence.qunit.WebDriverEnvironmentCreator getEnvironmentCreator()


Copyright © 2003-2014 Atlassian. All Rights Reserved.