|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.resultsummary.tests.TestClassResultImpl
public class TestClassResultImpl
| Field Summary |
|---|
| Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
|---|
id |
| Constructor Summary | |
|---|---|
TestClassResultImpl()
|
|
TestClassResultImpl(TestClass testClass,
BuildResultsSummary summary)
|
|
| Method Summary | |
|---|---|
void |
addTestCase(TestCaseResult testCaseResult)
Add a testCase to this TestClassResult (to this group) |
int |
compareTo(TestClassResult testClassResult)
|
boolean |
equals(java.lang.Object o)
|
BuildResultsSummary |
getBuildResultsSummary()
|
long |
getDuration()
The total running time (in milliseconds) for this class (cumulation of all TestCaseResults durations) |
int |
getFailedTestCount()
|
java.lang.String |
getName()
|
java.lang.String |
getShortName()
|
int |
getSuccessfulTestCount()
|
java.util.List<TestCaseResult> |
getTestCaseResults()
Retrieve the TestCaseResults contained within this TestClassResult |
TestClass |
getTestClass()
|
int |
hashCode()
|
void |
incrementFailedTestCount()
add 1 to the current failed test count |
void |
incrementSuccessfulTestCount()
add 1 to the current successful test count |
void |
setBuildResultsSummary(BuildResultsSummary buildResultsSummary)
|
void |
setDuration(long duration)
Set how long this testClassResult took. |
void |
setFailedTestCount(int failedTestCount)
Set the number of failing tests in this group |
void |
setSuccessfulTestCount(int successfulTestCount)
Set the number of successful tests in this group |
protected void |
setTestClass(TestClass testClass)
|
| Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject |
|---|
getId, setId |
| Methods inherited from class com.atlassian.core.bean.EntityObject |
|---|
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestClassResultImpl()
public TestClassResultImpl(TestClass testClass,
BuildResultsSummary summary)
| Method Detail |
|---|
@Nullable public java.lang.String getName()
getName in interface TestClassResultDescriptorgetName in interface NameProvider@Nullable public java.lang.String getShortName()
getShortName in interface TestClassResultDescriptorpublic void incrementSuccessfulTestCount()
TestClassResult
incrementSuccessfulTestCount in interface TestClassResultpublic void incrementFailedTestCount()
TestClassResult
incrementFailedTestCount in interface TestClassResultpublic TestClass getTestClass()
getTestClass in interface TestClassResultprotected void setTestClass(TestClass testClass)
public long getDuration()
TestClassResult
getDuration in interface TestClassResultpublic void setDuration(long duration)
TestClassResult
setDuration in interface TestClassResultduration - - time in milliseconds@NotNull public java.util.List<TestCaseResult> getTestCaseResults()
TestClassResult
getTestCaseResults in interface TestClassResultpublic void addTestCase(TestCaseResult testCaseResult)
TestClassResult
addTestCase in interface TestClassResulttestCaseResult - to addpublic int getFailedTestCount()
getFailedTestCount in interface TestClassResultpublic void setFailedTestCount(int failedTestCount)
TestClassResult
setFailedTestCount in interface TestClassResultfailedTestCount - - number of failed tests in this grouppublic int getSuccessfulTestCount()
getSuccessfulTestCount in interface TestClassResultpublic void setSuccessfulTestCount(int successfulTestCount)
TestClassResult
setSuccessfulTestCount in interface TestClassResultsuccessfulTestCount - - number of successful tests in this grouppublic BuildResultsSummary getBuildResultsSummary()
getBuildResultsSummary in interface TestClassResultpublic void setBuildResultsSummary(BuildResultsSummary buildResultsSummary)
public int hashCode()
hashCode in class com.atlassian.core.bean.EntityObjectpublic boolean equals(java.lang.Object o)
equals in class com.atlassian.core.bean.EntityObjectpublic int compareTo(TestClassResult testClassResult)
compareTo in interface java.lang.Comparable<TestClassResult>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||