com.atlassian.jira.webtest.qunit
Class QUnitHelper

java.lang.Object
  extended by com.atlassian.jira.webtest.qunit.QUnitHelper

public class QUnitHelper
extends Object

Provides some utilities for running QUnit tests.

Since:
v5.0

Constructor Summary
QUnitHelper()
           
 
Method Summary
static void runAllTests(Navigator navigator, com.atlassian.aui.test.runner.QUnitSeleniumHelper seleniumHelper, File testOutputDir)
          Runs all of the QUnit tests in JIRA.
static void runSuiteTests(String suiteName, Navigator navigator, com.atlassian.aui.test.runner.QUnitSeleniumHelper seleniumHelper, File testOutputDir)
          Runs all of the QUnit tests in the given suite.
static File setUpOutputLocation()
          Sets up the test output file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QUnitHelper

public QUnitHelper()
Method Detail

setUpOutputLocation

public static File setUpOutputLocation()
Sets up the test output file.

Returns:

runAllTests

public static void runAllTests(Navigator navigator,
                               com.atlassian.aui.test.runner.QUnitSeleniumHelper seleniumHelper,
                               File testOutputDir)
                        throws Exception
Runs all of the QUnit tests in JIRA.

Parameters:
navigator -
seleniumHelper -
testOutputDir -
Throws:
Exception

runSuiteTests

public static void runSuiteTests(String suiteName,
                                 Navigator navigator,
                                 com.atlassian.aui.test.runner.QUnitSeleniumHelper seleniumHelper,
                                 File testOutputDir)
                          throws Exception
Runs all of the QUnit tests in the given suite.

Parameters:
suiteName -
navigator -
seleniumHelper -
testOutputDir -
Throws:
Exception


Copyright © 2002-2012 Atlassian. All Rights Reserved.