public class

LogTestInformationListener

extends Object
implements WebTestListener
java.lang.Object
   ↳ com.atlassian.jira.pageobjects.config.junit4.LogTestInformationListener

Class Overview

A WebTestListener that logs information about running tests.

Summary

Public Constructors
LogTestInformationListener()
LogTestInformationListener(String logPrefix)
Public Methods
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.
Protected Methods
void log(String logMessage)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.functest.framework.WebTestListener

Public Constructors

public LogTestInformationListener ()

public LogTestInformationListener (String logPrefix)

Public Methods

public void suiteFinished (WebTestDescription suiteDescription)

Called when the whole web test suite is going finishing.

Parameters
suiteDescription description of the whole suite

public void suiteStarted (WebTestDescription suiteDescription)

Called when the whole web test suite is going to start.

Parameters
suiteDescription description of the whole suite

public void testError (WebTestDescription description, Throwable error)

Called when test ends with an error

Parameters
description test description
error error

public void testFailure (WebTestDescription description, Throwable failure)

Called on test finished with an assertion failure.

Parameters
description test description
failure failure

public void testFinished (WebTestDescription description)

Called on finished web test.

Parameters
description test description

public void testStarted (WebTestDescription description)

Called on start of a single web test.

Parameters
description test description

Protected Methods

protected void log (String logMessage)