com.atlassian.confluence.qunit
Class QUnitEditorWebDriverTestSuite
java.lang.Object
junit.framework.TestSuite
com.atlassian.confluence.qunit.QUnitEditorWebDriverTestSuite
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- QUnitQuickCommentEditorWebDriverTestSuite, QUnitQuickEditEditorWebDriverTestSuite, QUnitViewPageWebDriverTestSuite
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 QUnitFileSuite
s) 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.
Methods inherited from class junit.framework.TestSuite |
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
warmUp
protected void warmUp(Space space,
QUnitTestProduct qUnitTestProduct)
wrapTestProduct
protected QUnitTestProduct wrapTestProduct(ConfluenceTestedProduct product)
getEnvironmentCreator
protected com.atlassian.confluence.qunit.QUnitWebDriverEnvironmentCreator getEnvironmentCreator()
Copyright © 2003-2014 Atlassian. All Rights Reserved.