com.atlassian.jira.pageobjects.config.junit4
Class DumpPageSourceListener
java.lang.Object
com.atlassian.jira.functest.framework.AbstractWebTestListener
com.atlassian.jira.pageobjects.config.junit4.DumpPageSourceListener
- All Implemented Interfaces:
- WebTestListener
public class DumpPageSourceListener
- extends AbstractWebTestListener
- implements WebTestListener
WebTestListener that dumps source of the current page into a file in
case of error or failure
- Since:
- v4.4
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DumpPageSourceListener
public DumpPageSourceListener()
asRunListener
public static org.junit.runner.notification.RunListener asRunListener()
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- Overrides:
testError in class AbstractWebTestListener
- Parameters:
description - test descriptionerror - 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- Overrides:
testFailure in class AbstractWebTestListener
- Parameters:
description - test descriptionfailure - failure
Copyright © 2002-2012 Atlassian. All Rights Reserved.