Package net.serenitybdd.junit.runners
Class FailureRerunnerXml
java.lang.Object
net.serenitybdd.junit.runners.FailureRerunnerXml
- All Implemented Interfaces:
FailureRerunner
public class FailureRerunnerXml extends java.lang.Object implements FailureRerunner
-
Constructor Summary
Constructors Constructor Description FailureRerunnerXml(Configuration configuration)
-
Method Summary
Modifier and Type Method Description boolean
hasToRunTest(java.lang.String className, java.lang.String methodName)
Returns true if a test given by className and method name has to be run.void
recordFailedTests(java.util.Map<java.lang.String,java.util.List<java.lang.String>> failedTests)
Stores failed tests.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FailureRerunnerXml
-
-
Method Details
-
recordFailedTests
public void recordFailedTests(java.util.Map<java.lang.String,java.util.List<java.lang.String>> failedTests)Description copied from interface:FailureRerunner
Stores failed tests.- Specified by:
recordFailedTests
in interfaceFailureRerunner
- Parameters:
failedTests
- map keys are class names, values lists with failed method names
-
hasToRunTest
public boolean hasToRunTest(java.lang.String className, java.lang.String methodName)Description copied from interface:FailureRerunner
Returns true if a test given by className and method name has to be run.- Specified by:
hasToRunTest
in interfaceFailureRerunner
-