com.atlassian.jira.functest.framework
Class CompositeSuiteListener

java.lang.Object
  extended by com.atlassian.jira.functest.framework.CompositeSuiteListener
All Implemented Interfaces:
WebTestListener

public class CompositeSuiteListener
extends Object
implements WebTestListener


Method Summary
static WebTestListener of(WebTestListener... listeners)
           
static WebTestListener of(WebTestListener listener)
           
 void suiteFinished(WebTestDescription suiteDescription)
          Called when the whole web test suite is going finishing.
 void suiteStarted(WebTestDescription suiteDescription)
          Called when the whole web test suite is going to start.
 void testError(WebTestDescription test, Throwable t)
          Called when test ends with an error
 void testFailure(WebTestDescription test, Throwable t)
          Called on test finished with an assertion failure.
 void testFinished(WebTestDescription test)
          Called on finished web test.
 void testStarted(WebTestDescription test)
          Called on start of a single web test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

suiteStarted

public void suiteStarted(WebTestDescription suiteDescription)
Description copied from interface: WebTestListener
Called when the whole web test suite is going to start.

Specified by:
suiteStarted in interface WebTestListener
Parameters:
suiteDescription - description of the whole suite

suiteFinished

public void suiteFinished(WebTestDescription suiteDescription)
Description copied from interface: WebTestListener
Called when the whole web test suite is going finishing.

Specified by:
suiteFinished in interface WebTestListener
Parameters:
suiteDescription - description of the whole suite

testError

public void testError(WebTestDescription test,
                      Throwable t)
Description copied from interface: WebTestListener
Called when test ends with an error

Specified by:
testError in interface WebTestListener
Parameters:
test - test description
t - error

testFailure

public void testFailure(WebTestDescription test,
                        Throwable t)
Description copied from interface: WebTestListener
Called on test finished with an assertion failure.

Specified by:
testFailure in interface WebTestListener
Parameters:
test - test description
t - failure

testFinished

public void testFinished(WebTestDescription test)
Description copied from interface: WebTestListener
Called on finished web test.

Specified by:
testFinished in interface WebTestListener
Parameters:
test - test description

testStarted

public void testStarted(WebTestDescription test)
Description copied from interface: WebTestListener
Called on start of a single web test.

Specified by:
testStarted in interface WebTestListener
Parameters:
test - test description

of

public static WebTestListener of(WebTestListener listener)

of

public static WebTestListener of(WebTestListener... listeners)


Copyright © 2002-2012 Atlassian. All Rights Reserved.