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(String[] directoryNames, User user, Space space)
           
QUnitEditorWebDriverTestSuite(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(String directoryName,
                                     User user,
                                     Space space)
                              throws Exception
Throws:
Exception

QUnitEditorWebDriverTestSuite

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

wrapTestProduct

protected QUnitTestProduct wrapTestProduct(ConfluenceTestedProduct product)

getEnvironmentCreator

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


Copyright © 2003-2013 Atlassian. All Rights Reserved.