Package net.serenitybdd.rest
Class RestStepListener
- java.lang.Object
-
- net.serenitybdd.rest.RestStepListener
-
- All Implemented Interfaces:
StepListener
public class RestStepListener extends Object implements StepListener
-
-
Constructor Summary
Constructors Constructor Description RestStepListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNewExamplesFrom(net.thucydides.core.model.DataTable table)
void
assumptionViolated(String message)
void
exampleFinished()
void
exampleStarted(Map<String,String> data)
void
lastStepFailed(StepFailure failure)
void
notifyScreenChange()
void
skippedStepStarted(ExecutedStepDescription description)
void
stepFailed(StepFailure failure)
void
stepFinished()
void
stepIgnored()
void
stepPending()
void
stepPending(String message)
void
stepStarted(ExecutedStepDescription description)
void
testFailed(net.thucydides.core.model.TestOutcome testOutcome, Throwable cause)
void
testFinished(net.thucydides.core.model.TestOutcome result)
void
testIgnored()
void
testIsManual()
void
testPending()
void
testRetried()
void
testRunFinished()
void
testSkipped()
void
testStarted(String description)
void
testStarted(String description, String id)
void
testSuiteFinished()
void
testSuiteStarted(Class<?> storyClass)
void
testSuiteStarted(net.thucydides.core.model.Story story)
void
useExamplesFrom(net.thucydides.core.model.DataTable table)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.thucydides.core.steps.StepListener
exampleStarted, testFinished
-
-
-
-
Method Detail
-
testSuiteStarted
public void testSuiteStarted(Class<?> storyClass)
- Specified by:
testSuiteStarted
in interfaceStepListener
-
testSuiteStarted
public void testSuiteStarted(net.thucydides.core.model.Story story)
- Specified by:
testSuiteStarted
in interfaceStepListener
-
testSuiteFinished
public void testSuiteFinished()
- Specified by:
testSuiteFinished
in interfaceStepListener
-
testStarted
public void testStarted(String description)
- Specified by:
testStarted
in interfaceStepListener
-
testStarted
public void testStarted(String description, String id)
- Specified by:
testStarted
in interfaceStepListener
-
testFinished
public void testFinished(net.thucydides.core.model.TestOutcome result)
- Specified by:
testFinished
in interfaceStepListener
-
testRetried
public void testRetried()
- Specified by:
testRetried
in interfaceStepListener
-
stepStarted
public void stepStarted(ExecutedStepDescription description)
- Specified by:
stepStarted
in interfaceStepListener
-
skippedStepStarted
public void skippedStepStarted(ExecutedStepDescription description)
- Specified by:
skippedStepStarted
in interfaceStepListener
-
stepFailed
public void stepFailed(StepFailure failure)
- Specified by:
stepFailed
in interfaceStepListener
-
lastStepFailed
public void lastStepFailed(StepFailure failure)
- Specified by:
lastStepFailed
in interfaceStepListener
-
stepIgnored
public void stepIgnored()
- Specified by:
stepIgnored
in interfaceStepListener
-
stepPending
public void stepPending()
- Specified by:
stepPending
in interfaceStepListener
-
stepPending
public void stepPending(String message)
- Specified by:
stepPending
in interfaceStepListener
-
stepFinished
public void stepFinished()
- Specified by:
stepFinished
in interfaceStepListener
-
testFailed
public void testFailed(net.thucydides.core.model.TestOutcome testOutcome, Throwable cause)
- Specified by:
testFailed
in interfaceStepListener
-
testIgnored
public void testIgnored()
- Specified by:
testIgnored
in interfaceStepListener
-
testSkipped
public void testSkipped()
- Specified by:
testSkipped
in interfaceStepListener
-
testPending
public void testPending()
- Specified by:
testPending
in interfaceStepListener
-
testIsManual
public void testIsManual()
- Specified by:
testIsManual
in interfaceStepListener
-
notifyScreenChange
public void notifyScreenChange()
- Specified by:
notifyScreenChange
in interfaceStepListener
-
useExamplesFrom
public void useExamplesFrom(net.thucydides.core.model.DataTable table)
- Specified by:
useExamplesFrom
in interfaceStepListener
-
addNewExamplesFrom
public void addNewExamplesFrom(net.thucydides.core.model.DataTable table)
- Specified by:
addNewExamplesFrom
in interfaceStepListener
-
exampleStarted
public void exampleStarted(Map<String,String> data)
- Specified by:
exampleStarted
in interfaceStepListener
-
exampleFinished
public void exampleFinished()
- Specified by:
exampleFinished
in interfaceStepListener
-
assumptionViolated
public void assumptionViolated(String message)
- Specified by:
assumptionViolated
in interfaceStepListener
-
testRunFinished
public void testRunFinished()
- Specified by:
testRunFinished
in interfaceStepListener
-
-