|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectraccoon.core.uitest.data.UiCaseResult
public class UiCaseResult
Contains the results of the execution of all the tests contained within a single case.
Constructor Summary | |
---|---|
UiCaseResult()
|
Method Summary | |
---|---|
void |
addTestResult(IUnitTestResult pTestResult)
Adds a new test result to the current list of results. |
boolean |
analyzeTests()
Analyzes the results of the tests contained by this case. |
java.lang.String |
getCaseName()
Retrieves the name of the case. |
int |
getCaseResult()
The global result of this case. |
IUnitTestResult |
getTestResult(java.lang.String pTestName)
Retrieves the result of the given test. |
java.util.Map |
getTestResults()
Retrieves the results of the tests. |
void |
setCaseName(java.lang.String pCaseName)
Assigns the name of the test case that this element represents. |
void |
setCaseResult(int pCaseResult)
Defines the result associated to this case. |
void |
setTestResults(java.util.Map pTestResults)
Defines the results of the tests contained by this case. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UiCaseResult()
Method Detail |
---|
public java.lang.String getCaseName()
getCaseName
in interface IUnitCaseResult
public void setCaseName(java.lang.String pCaseName)
pCaseName
- the name of the case for which the results are contained by this instance.public java.util.Map getTestResults()
getTestResults
in interface IUnitCaseResult
IUnitTestResult
elements.public void setTestResults(java.util.Map pTestResults)
pTestResults
- a map where the key is the name of the test and the value an instance of
IUnitTestResult
public void addTestResult(IUnitTestResult pTestResult)
addTestResult
in interface IUnitCaseResult
pTestResult
- the result of the execution of the given test.public IUnitTestResult getTestResult(java.lang.String pTestName)
getTestResult
in interface IUnitCaseResult
pTestName
- the name of the test.
public int getCaseResult()
getCaseResult
in interface IUnitCaseResult
public void setCaseResult(int pCaseResult)
pCaseResult
- the result of the execution.public boolean analyzeTests()
addTestResult(raccoon.api.eai.uitest.report.IUnitTestResult)
then it isn't necessary to invoke this method.
analyzeTests
in interface IUnitCaseResult
true> if the results were correctly analyzed, false
if there no tests.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |