raccoon.api.eai.uitest.report
Interface IUnitCaseResult

All Known Implementing Classes:
UiCaseResult

public interface IUnitCaseResult

The result of none regression case. A case describes various related to a user defined case and is composed of multiple tests. Each test contains the various values of the same given context which is a case.

Since:
Raccoon v0.7
Version:
$Id: IUnitCaseResult.java,v 1.1 2004/08/08 20:25:56 crouvrais Exp $
Author:
Cedric ROUVRAIS

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.
 

Method Detail

getTestResults

java.util.Map getTestResults()
Retrieves the results of the tests.

Returns:
a map of IUnitTestResult elements.

getCaseResult

int getCaseResult()
The global result of this case.

Returns:
the worst result obtained during the execution of all the tests.

analyzeTests

boolean analyzeTests()
Analyzes the results of the tests contained by this case.

Returns:
true if the results were correctly analyzed, false if there no tests.

addTestResult

void addTestResult(IUnitTestResult pTestResult)
Adds a new test result to the current list of results.

Parameters:
pTestResult - the result of the execution of the given test.

getTestResult

IUnitTestResult getTestResult(java.lang.String pTestName)
Retrieves the result of the given test.

Parameters:
pTestName - the name of the test.
Returns:
the corresponding result.

getCaseName

java.lang.String getCaseName()
Retrieves the name of the case.

Returns:
the name of the case for whic the results are represented by this instance.


Copyright null null. All Rights Reserved.