net.sf.jameleon.result
Interface HasChildResults

All Known Implementing Classes:
CountableDataDrivableResultContainer, CountableDataDrivableRowResult, DataDrivableResultContainer, DataDrivableRowResult, SessionResult, TestCaseResult, TestResultWithChildren

public interface HasChildResults

Describes a result that can have other results


Method Summary
 void addChildResult(JameleonTestResult childResult)
          Adds a child result to the list of results
 void addFailedResult(JameleonTestResult result)
          Adds a failed result
 List getAllChildrenResults()
          Gets all the ancestor children results
 List getAllFailedLeafChildrenResults()
          Gets all the ancestor leaf children results that have failed
 List getChildrenResults()
          Gets the children results
 List getCountableResults()
          Gets all the ancestor children results that can be counted as test case results
 List getFailedCountableResults()
          Gets all the failed ancestor children results that can be counted as test case results
 List getFailedResults()
          Gets the failed results
 void setFailed()
          Sets the result as failed
 

Method Detail

addChildResult

void addChildResult(JameleonTestResult childResult)
Adds a child result to the list of results

Parameters:
childResult - - the child JameleonTestResult to add

getAllChildrenResults

List getAllChildrenResults()
Gets all the ancestor children results

Returns:
List

getAllFailedLeafChildrenResults

List getAllFailedLeafChildrenResults()
Gets all the ancestor leaf children results that have failed

Returns:
List

getCountableResults

List getCountableResults()
Gets all the ancestor children results that can be counted as test case results

Returns:
List

getFailedCountableResults

List getFailedCountableResults()
Gets all the failed ancestor children results that can be counted as test case results

Returns:
List

getChildrenResults

List getChildrenResults()
Gets the children results

Returns:
List

setFailed

void setFailed()
Sets the result as failed


addFailedResult

void addFailedResult(JameleonTestResult result)
Adds a failed result


getFailedResults

List getFailedResults()
Gets the failed results

Returns:
List


Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.