public class CucumberScenarioResult extends Object
| Modifier and Type | Field and Description |
|---|---|
private CucumberBeforeAfterResult |
after |
private CucumberBeforeAfterResult |
before |
private String |
description |
private double |
duration |
private int |
failed |
private String |
id |
private String |
keyword |
private Long |
line |
private String |
name |
private int |
passed |
private int |
rerunAttempts |
private CucumberStepResult[] |
steps |
private CucumberTagResults[] |
tags |
private String |
type |
private int |
undefined |
| Constructor and Description |
|---|
CucumberScenarioResult(com.cedarsoftware.util.io.JsonObject<String,Object> json) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRerunAttempts(int count) |
CucumberBeforeAfterResult |
getAfter() |
CucumberBeforeAfterResult |
getBefore() |
String |
getDescription() |
double |
getDuration() |
int |
getFailed() |
String |
getId() |
String |
getKeyword() |
Long |
getLine() |
String |
getName() |
int |
getPassed() |
int |
getRerunAttempts() |
String |
getStatus() |
CucumberStepResult[] |
getSteps() |
CucumberTagResults[] |
getTags() |
String |
getType() |
int |
getUndefined() |
void |
setDescription(String descriptionValue) |
void |
setId(String idValue) |
void |
setKeyword(String keywordValue) |
void |
setLine(Long lineValue) |
void |
setName(String nameValue) |
void |
setSteps(CucumberStepResult[] stepsValue) |
void |
setTags(CucumberTagResults[] tagsValue) |
void |
setType(String typeValue) |
void |
valuate() |
private String id
private CucumberTagResults[] tags
private String description
private String name
private String keyword
private Long line
private CucumberStepResult[] steps
private String type
private CucumberBeforeAfterResult before
private CucumberBeforeAfterResult after
private int passed
private int failed
private int undefined
private double duration
private int rerunAttempts
public void valuate()
public final int getPassed()
public final int getFailed()
public final int getUndefined()
public String getStatus()
public final String getId()
public final String getDescription()
public final String getName()
public final String getKeyword()
public final Long getLine()
public final CucumberStepResult[] getSteps()
public final String getType()
public final void setId(String idValue)
idValue - the id to setpublic final void setDescription(String descriptionValue)
descriptionValue - the description to setpublic final void setName(String nameValue)
nameValue - the name to setpublic final void setKeyword(String keywordValue)
keywordValue - the keyword to setpublic final void setLine(Long lineValue)
lineValue - the line to setpublic final void setSteps(CucumberStepResult[] stepsValue)
stepsValue - the steps to setpublic final void setType(String typeValue)
typeValue - the type to setpublic final CucumberTagResults[] getTags()
public final void setTags(CucumberTagResults[] tagsValue)
tagsValue - the tags to setpublic final double getDuration()
public final CucumberBeforeAfterResult getBefore()
public final CucumberBeforeAfterResult getAfter()
public final int getRerunAttempts()
public void addRerunAttempts(int count)
Copyright © 2013-2015. All Rights Reserved.