public class TagObject extends Object implements Reportable
| Modifier and Type | Method and Description |
|---|---|
boolean |
addElement(Element element) |
long |
getDuration()
Returns duration as milliseconds for this element.
|
List<Element> |
getElements() |
int |
getFailedFeatures()
Returns number of failed features for this element.
|
int |
getFailedScenarios()
Returns number of failed scenarios for this element.
|
int |
getFailedSteps()
Returns number of failed steps for this element.
|
int |
getFeatures()
Returns number of features for this element.
|
String |
getFormattedDuration()
Returns formatted duration for this element.
|
String |
getName()
Returns name of the element that will be displayed to user.
|
int |
getNumberOfStatus(Status status) |
int |
getPassedFeatures()
Returns number of passed features for this element.
|
int |
getPassedScenarios()
Returns number of passed scenarios for this element.
|
int |
getPassedSteps()
Returns number of passed steps for this element.
|
int |
getPendingSteps()
Returns number of pending steps for this element.
|
String |
getRawStatus() |
String |
getReportFileName() |
int |
getScenarios()
Returns number of scenarios for this element.
|
int |
getSkippedSteps()
Returns number of skipped steps for this element.
|
Status |
getStatus()
Returns status for this element.
|
int |
getSteps()
Returns number of all steps for this element.
|
int |
getUndefinedSteps()
Returns number of undefined steps for this element.
|
public TagObject(String tagName)
public String getName()
ReportablegetName in interface Reportablepublic String getReportFileName()
public boolean addElement(Element element)
public int getFeatures()
ReportablegetFeatures in interface Reportablepublic int getPassedFeatures()
ReportablegetPassedFeatures in interface Reportablepublic int getFailedFeatures()
ReportablegetFailedFeatures in interface Reportablepublic int getScenarios()
ReportablegetScenarios in interface Reportablepublic int getPassedScenarios()
ReportablegetPassedScenarios in interface Reportablepublic int getFailedScenarios()
ReportablegetFailedScenarios in interface Reportablepublic long getDuration()
ReportablegetDuration in interface Reportablepublic String getFormattedDuration()
ReportablegetFormattedDuration in interface Reportablepublic int getSteps()
ReportablegetSteps in interface Reportablepublic int getNumberOfStatus(Status status)
public int getPassedSteps()
ReportablegetPassedSteps in interface Reportablepublic int getFailedSteps()
ReportablegetFailedSteps in interface Reportablepublic int getSkippedSteps()
ReportablegetSkippedSteps in interface Reportablepublic int getUndefinedSteps()
ReportablegetUndefinedSteps in interface Reportablepublic int getPendingSteps()
ReportablegetPendingSteps in interface Reportablepublic Status getStatus()
ReportablegetStatus in interface Reportablepublic String getRawStatus()
Copyright © 2020. All rights reserved.