com.atlassian.jira.functest.framework
Class AbstractWebTestListener

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

public abstract class AbstractWebTestListener
extends Object
implements WebTestListener

Abstract, no-op implementation of WebTestListener. Subclasses only need to override required methods.

Since:
v4.4

Constructor Summary
AbstractWebTestListener()
           
 
Method Summary
 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 description, Throwable error)
          Called when test ends with an error
 void testFailure(WebTestDescription description, Throwable failure)
          Called on test finished with an assertion failure.
 void testFinished(WebTestDescription description)
          Called on finished web test.
 void testStarted(WebTestDescription description)
          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
 

Constructor Detail

AbstractWebTestListener

public AbstractWebTestListener()
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

testStarted

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

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

testFinished

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

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

testError

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

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

testFailure

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

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.