public class RunTestsResult extends Object
Java class for RunTestsResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RunTestsResult">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="apexLogId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="codeCoverage" type="{urn:tooling.soap.sforce.com}CodeCoverageResult" maxOccurs="unbounded" minOccurs="0"/>
<element name="codeCoverageWarnings" type="{urn:tooling.soap.sforce.com}CodeCoverageWarning" maxOccurs="unbounded" minOccurs="0"/>
<element name="failures" type="{urn:tooling.soap.sforce.com}RunTestFailure" maxOccurs="unbounded" minOccurs="0"/>
<element name="numFailures" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="numTestsRun" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="successes" type="{urn:tooling.soap.sforce.com}RunTestSuccess" maxOccurs="unbounded" minOccurs="0"/>
<element name="totalTime" type="{http://www.w3.org/2001/XMLSchema}double"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
apexLogId |
protected List<CodeCoverageResult> |
codeCoverage |
protected List<CodeCoverageWarning> |
codeCoverageWarnings |
protected List<RunTestFailure> |
failures |
protected int |
numFailures |
protected int |
numTestsRun |
protected List<RunTestSuccess> |
successes |
protected double |
totalTime |
| Constructor and Description |
|---|
RunTestsResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApexLogId()
Gets the value of the apexLogId property.
|
List<CodeCoverageResult> |
getCodeCoverage()
Gets the value of the codeCoverage property.
|
List<CodeCoverageWarning> |
getCodeCoverageWarnings()
Gets the value of the codeCoverageWarnings property.
|
List<RunTestFailure> |
getFailures()
Gets the value of the failures property.
|
int |
getNumFailures()
Gets the value of the numFailures property.
|
int |
getNumTestsRun()
Gets the value of the numTestsRun property.
|
List<RunTestSuccess> |
getSuccesses()
Gets the value of the successes property.
|
double |
getTotalTime()
Gets the value of the totalTime property.
|
void |
setApexLogId(String value)
Sets the value of the apexLogId property.
|
void |
setNumFailures(int value)
Sets the value of the numFailures property.
|
void |
setNumTestsRun(int value)
Sets the value of the numTestsRun property.
|
void |
setTotalTime(double value)
Sets the value of the totalTime property.
|
protected String apexLogId
protected List<CodeCoverageResult> codeCoverage
protected List<CodeCoverageWarning> codeCoverageWarnings
protected List<RunTestFailure> failures
protected int numFailures
protected int numTestsRun
protected List<RunTestSuccess> successes
protected double totalTime
public String getApexLogId()
Stringpublic void setApexLogId(String value)
value - allowed object is
Stringpublic List<CodeCoverageResult> getCodeCoverage()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the codeCoverage property.
For example, to add a new item, do as follows:
getCodeCoverage().add(newItem);
Objects of the following type(s) are allowed in the list
CodeCoverageResult
public List<CodeCoverageWarning> getCodeCoverageWarnings()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the codeCoverageWarnings property.
For example, to add a new item, do as follows:
getCodeCoverageWarnings().add(newItem);
Objects of the following type(s) are allowed in the list
CodeCoverageWarning
public List<RunTestFailure> getFailures()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the failures property.
For example, to add a new item, do as follows:
getFailures().add(newItem);
Objects of the following type(s) are allowed in the list
RunTestFailure
public int getNumFailures()
public void setNumFailures(int value)
public int getNumTestsRun()
public void setNumTestsRun(int value)
public List<RunTestSuccess> getSuccesses()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the successes property.
For example, to add a new item, do as follows:
getSuccesses().add(newItem);
Objects of the following type(s) are allowed in the list
RunTestSuccess
public double getTotalTime()
public void setTotalTime(double value)
Copyright © 2016. All rights reserved.