|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jameleon.result.JameleonTestResult
net.sf.jameleon.result.TestResultWithChildren
public abstract class TestResultWithChildren
A JameleonTestResult that can have children
| Field Summary | |
|---|---|
protected List |
childrenResults
A list of Child Results |
protected List |
failedResults
A list of failed Child Results |
| Fields inherited from class net.sf.jameleon.result.JameleonTestResult |
|---|
columnNumber, E_CDATA, elementTagName, error, errorFile, executionTime, failed, lineNumber, parentResults, S_CDATA, scriptFileName, tag |
| Constructor Summary | |
|---|---|
TestResultWithChildren()
|
|
TestResultWithChildren(FunctionalPoint tag)
|
|
TestResultWithChildren(FunctionalPoint tag,
HasChildResults parentResults)
|
|
| Method Summary | |
|---|---|
void |
addChildResult(JameleonTestResult childResult)
Adds a JameleonTestResult to the list of JameleonTestResult int the TestCase |
void |
addFailedResult(JameleonTestResult failedResult)
Adds a failed JameleonTestResult to the list of failed results |
void |
destroy()
|
List |
getAllChildrenResults()
Gets all the ancestor children results |
List |
getAllFailedLeafChildrenResults()
Gets all the ancestor leaf children results that have failed |
List |
getChildrenResults()
Gets a list of child results |
protected List |
getCountableChildResults()
|
List |
getCountableResults()
Gets all the countable 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 a list of failed child results |
boolean |
hasChildren()
Tells whether this result has children or not. |
boolean |
isParent()
Tells whether this result is a parent result or not. |
String |
toXML()
Implement this method the same way the toString method would be implemented, except
the object's information should be in a valid XML format. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.sf.jameleon.result.HasChildResults |
|---|
setFailed |
| Field Detail |
|---|
protected List childrenResults
protected List failedResults
| Constructor Detail |
|---|
public TestResultWithChildren()
public TestResultWithChildren(FunctionalPoint tag)
public TestResultWithChildren(FunctionalPoint tag,
HasChildResults parentResults)
| Method Detail |
|---|
public void addChildResult(JameleonTestResult childResult)
addChildResult in interface HasChildResultschildResult - - a child resultpublic void addFailedResult(JameleonTestResult failedResult)
addFailedResult in interface HasChildResultsfailedResult - - A failed child resultpublic List getAllChildrenResults()
getAllChildrenResults in interface HasChildResultspublic List getAllFailedLeafChildrenResults()
getAllFailedLeafChildrenResults in interface HasChildResultspublic List getCountableResults()
getCountableResults in interface HasChildResultsprotected List getCountableChildResults()
public List getFailedCountableResults()
getFailedCountableResults in interface HasChildResultspublic List getChildrenResults()
getChildrenResults in interface HasChildResultspublic List getFailedResults()
getFailedResults in interface HasChildResultspublic void destroy()
destroy in class JameleonTestResultpublic boolean isParent()
JameleonTestResult
isParent in class JameleonTestResulttrue if this result is a parent result or false
if it is a leaf node resultpublic String toXML()
XMLabletoString method would be implemented, except
the object's information should be in a valid XML format.
toXML in interface XMLabletoXML in class JameleonTestResultpublic boolean hasChildren()
JameleonTestResult
hasChildren in class JameleonTestResulttrue if this result has children
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||