|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestCase
Represents a test in a plan. A TestCase belongs to a TestClass
. And when this test is run it will produce a TestCaseResult
Method Summary | |
---|---|
TestCase |
copyTestCase()
Creates a copy of the TestCase . |
long |
getAverageDuration()
|
long |
getAverageDurationInSeconds()
|
int |
getFirstRanBuildNumber()
|
int |
getLastRanBuildNumber()
|
java.lang.String |
getMethodName()
Returns a sentence describing the test, derived from the method name of the test. |
java.lang.String |
getName()
|
int |
getNumberOfFailedRuns()
|
int |
getNumberOfSuccessRuns()
|
double |
getSuccessPercentage()
|
TestClass |
getTestClass()
|
int |
getTotalTestRuns()
|
void |
setAverageDuration(long averageDuration)
|
void |
setFirstRanBuildNumber(int firstRanBuildNumber)
|
void |
setLastRanBuildNumber(int lastRanBuildNumber)
|
void |
setNumberOfFailedRuns(int numberOfFailedRuns)
|
void |
setNumberOfSuccessRuns(int numberOfSuccessRuns)
|
void |
setTestClass(TestClass testClass)
Set the testClass this test case belongs to |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
getId, setId |
Method Detail |
---|
java.lang.String getName()
TestClass getTestClass()
void setTestClass(TestClass testClass)
testClass
- the test case belongs tojava.lang.String getMethodName()
double getSuccessPercentage()
int getTotalTestRuns()
int getNumberOfSuccessRuns()
void setNumberOfSuccessRuns(int numberOfSuccessRuns)
int getNumberOfFailedRuns()
void setNumberOfFailedRuns(int numberOfFailedRuns)
long getAverageDuration()
long getAverageDurationInSeconds()
void setAverageDuration(long averageDuration)
int getFirstRanBuildNumber()
void setFirstRanBuildNumber(int firstRanBuildNumber)
int getLastRanBuildNumber()
void setLastRanBuildNumber(int lastRanBuildNumber)
@NotNull TestCase copyTestCase()
TestCase
. Note that it does not include TestClass
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |