public class TagObject extends Object implements Reportable, Comparable<TagObject>
| Modifier and Type | Method and Description |
|---|---|
boolean |
addElement(Element element) |
int |
compareTo(TagObject o) |
String |
getDeviceName()
In case of running the same tests on many devices it displays name of the device.
|
long |
getDurations()
Returns raw duration for this element.
|
List<Element> |
getElements() |
int |
getFailedScenarios()
Returns number of failed scenarios for this element.
|
int |
getFailedSteps()
Returns number of failed steps for this element.
|
String |
getFormattedDurations()
Returns formatted duration for this element.
|
String |
getName()
Returns name of the element that will be displayed to user.
|
int |
getNumberOfStatus(Status status) |
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 related to 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 getScenarios()
ReportablegetScenarios in interface Reportablepublic int getPassedScenarios()
ReportablegetPassedScenarios in interface Reportablepublic int getFailedScenarios()
ReportablegetFailedScenarios in interface Reportablepublic long getDurations()
ReportablegetDurations in interface Reportablepublic String getFormattedDurations()
ReportablegetFormattedDurations 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()
public String getDeviceName()
ReportablegetDeviceName in interface Reportablepublic int compareTo(TagObject o)
compareTo in interface Comparable<TagObject>Copyright © 2016. All rights reserved.