com.atlassian.confluence.selenium.qunit
Class QUnitDirectorySeleniumTestSuite

java.lang.Object
  extended by junit.framework.TestSuite
      extended by com.atlassian.confluence.selenium.qunit.QUnitDirectorySeleniumTestSuite
All Implemented Interfaces:
junit.framework.Test

public class QUnitDirectorySeleniumTestSuite
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
QUnitDirectorySeleniumTestSuite(String baseHref, String directoryName)
           
 
Method Summary
 
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
 

Constructor Detail

QUnitDirectorySeleniumTestSuite

public QUnitDirectorySeleniumTestSuite(String baseHref,
                                       String directoryName)
                                throws Exception
Throws:
Exception


Copyright © 2003-2011 Atlassian. All Rights Reserved.