|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestResultManager
Method Summary | |
---|---|
BuildResults |
getBuildFailingSince(BuildResults buildResults,
TestResults testResults)
Given a build results with test result, finds the build result for which this failing test has been failing since. |
BuildResults |
getBuildSuccessfulSince(TestCase testCase)
|
TestCaseResultWrapper |
getLastTestCaseResult(TestCase testCase)
|
TestCaseResultWrapper |
getTestCaseResult(BuildResults buildResults,
java.lang.String testCaseClassName,
java.lang.String testCaseName)
Finds a TestCaseResultWrapper given a test case key and a BuildResultsImpl |
TestClassResultWrapper |
getTestClassResult(BuildResults buildResults,
java.lang.String key)
Finds a TestClassResultWrapper given a test class key and a BuildResultsImpl |
boolean |
isTestFailedForBuild(BuildResults buildResults,
TestResults testResults)
Checks to see if a given TestResults is failing in a given BuildResultsImpl |
java.util.List |
wrapTestCaseResults(java.util.Collection<TestResults> testResults,
BuildResults buildResults)
Wraps up a List of TestResults object into a List of TestCaseResultWrapper objects. |
Method Detail |
---|
BuildResults getBuildFailingSince(BuildResults buildResults, TestResults testResults)
buildResults
- - build results to count the failing unitltestResults
- - the test result representing the test case
BuildResultsImpl
for which this test first failed.boolean isTestFailedForBuild(BuildResults buildResults, TestResults testResults)
TestResults
is failing in a given BuildResultsImpl
buildResults
- testResults
-
boolean
failed = true, not failed = false;TestCaseResultWrapper getTestCaseResult(BuildResults buildResults, java.lang.String testCaseClassName, java.lang.String testCaseName)
TestCaseResultWrapper
given a test case key and a BuildResultsImpl
buildResults
- testCaseClassName
- testCaseName
-
TestCaseResultWrapper
which wraps around the underlying TestResults
TestClassResultWrapper getTestClassResult(BuildResults buildResults, java.lang.String key)
TestClassResultWrapper
given a test class key and a BuildResultsImpl
buildResults
- key
-
TestClassResultWrapper
which wraps around the underlying TestClassResult
\java.util.List wrapTestCaseResults(java.util.Collection<TestResults> testResults, BuildResults buildResults)
List
of TestResults
object into a List
of TestCaseResultWrapper
objects.
testResults
- List
of TestResults
buildResults
-
List
of wrapped TestCaseResultWrapper
BuildResults getBuildSuccessfulSince(TestCase testCase)
TestCaseResultWrapper getLastTestCaseResult(TestCase testCase)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |