Package io.cucumber.messages.types
Class TestCaseStarted
- java.lang.Object
-
- io.cucumber.messages.types.TestCaseStarted
-
public class TestCaseStarted extends Object
-
-
Constructor Summary
Constructors Constructor Description TestCaseStarted()No args constructor for use in serializationTestCaseStarted(Long attempt, String id, String testCaseId, Timestamp timestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)LonggetAttempt()* The first attempt should have value 0, and for each retry the value should increase by 1.StringgetId()* Because a `TestCase` can be run multiple times (in case of a retry), we use this field to group messages relating to the same attempt.StringgetTestCaseId()(Required)TimestampgetTimestamp()(Required)inthashCode()voidsetAttempt(Long attempt)* The first attempt should have value 0, and for each retry the value should increase by 1.voidsetId(String id)* Because a `TestCase` can be run multiple times (in case of a retry), we use this field to group messages relating to the same attempt.voidsetTestCaseId(String testCaseId)(Required)voidsetTimestamp(Timestamp timestamp)(Required)StringtoString()
-
-
-
Method Detail
-
getAttempt
public Long getAttempt()
* The first attempt should have value 0, and for each retry the value should increase by 1. (Required)
-
setAttempt
public void setAttempt(Long attempt)
* The first attempt should have value 0, and for each retry the value should increase by 1. (Required)
-
getId
public String getId()
* Because a `TestCase` can be run multiple times (in case of a retry), we use this field to group messages relating to the same attempt. (Required)
-
setId
public void setId(String id)
* Because a `TestCase` can be run multiple times (in case of a retry), we use this field to group messages relating to the same attempt. (Required)
-
getTestCaseId
public String getTestCaseId()
(Required)
-
setTestCaseId
public void setTestCaseId(String testCaseId)
(Required)
-
getTimestamp
public Timestamp getTimestamp()
(Required)
-
setTimestamp
public void setTimestamp(Timestamp timestamp)
(Required)
-
-