com.atlassian.jira.webtest.capture
Class FFMpegSuiteListener

java.lang.Object
  extended by com.atlassian.jira.webtest.capture.FFMpegSuiteListener
All Implemented Interfaces:
WebTestListener

public class FFMpegSuiteListener
extends Object
implements WebTestListener

Listens to the selenium tests and records them.

Since:
v4.2

Field Summary
static int MAX_FFMPDEG_TIME
           
 
Constructor Summary
FFMpegSuiteListener()
           
FFMpegSuiteListener(com.google.common.base.Predicate<WebTestDescription> shouldRecord)
           
 
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 test, Throwable throwable)
          Called when test ends with an error
 void testFailure(WebTestDescription test, Throwable assertionFailedError)
          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
 

Field Detail

MAX_FFMPDEG_TIME

public static final int MAX_FFMPDEG_TIME
See Also:
Constant Field Values
Constructor Detail

FFMpegSuiteListener

public FFMpegSuiteListener(com.google.common.base.Predicate<WebTestDescription> shouldRecord)

FFMpegSuiteListener

public FFMpegSuiteListener()
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 throwable)
Description copied from interface: WebTestListener
Called when test ends with an error

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

testFailure

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

Specified by:
testFailure in interface WebTestListener
Parameters:
test - test description
assertionFailedError - 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


Copyright © 2002-2013 Atlassian. All Rights Reserved.