net.sf.jameleon.result
Class SessionResult
java.lang.Object
net.sf.jameleon.result.JameleonTestResult
net.sf.jameleon.result.TestResultWithChildren
net.sf.jameleon.result.SessionResult
- All Implemented Interfaces:
- Serializable, HasChildResults, XMLable, LocationAware
public class SessionResult
- extends TestResultWithChildren
An implementation of @see TestResult that represents the results of a session
Since a session contains function points, SessionResult
is the results
of all of the function points in the single session
- See Also:
- Serialized Form
Fields inherited from class net.sf.jameleon.result.JameleonTestResult |
columnNumber, E_CDATA, elementTagName, error, errorFile, executionTime, failed, lineNumber, parentResults, S_CDATA, scriptFileName, tag |
Method Summary |
boolean |
isDataDriven()
Tells whether this result is data driven or not. |
String |
toString()
|
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 net.sf.jameleon.result.TestResultWithChildren |
addChildResult, addFailedResult, destroy, getAllChildrenResults, getAllFailedLeafChildrenResults, getChildrenResults, getCountableChildResults, getCountableResults, getFailedCountableResults, getFailedResults, hasChildren, isParent |
Methods inherited from class net.sf.jameleon.result.JameleonTestResult |
copyLocationAwareProperties, equals, escapeXML, failed, findAncestorByClass, getColumnNumber, getDateTimeExecuted, getElementName, getError, getErrorFile, getErrorMsg, getExecutionTime, getExecutionTimeToDisplay, getFailedRowNum, getFileName, getHtmlFormattedErrorMsg, getHtmlFormattedStackTrace, getIdentifier, getLineNumber, getOutcome, getParentResults, getTag, hashCode, isA, passed, recordFailureToCountableResult, setColumnNumber, setDateTimeExecuted, setElementName, setError, setErrorFile, setExecutionTime, setFailed, setFileName, setLineNumber, setParentResults, setTag |
SessionResult
public SessionResult(FunctionalPoint tag)
- Default Constructor.
SessionResult
public SessionResult(FunctionalPoint tag,
HasChildResults parentResults)
- Default Constructor.
isDataDriven
public boolean isDataDriven()
- Description copied from class:
JameleonTestResult
- Tells whether this result is data driven or not.
- Specified by:
isDataDriven
in class JameleonTestResult
- Returns:
true
if this result is a data driven result or false
if it is not.
toXML
public String toXML()
- Description copied from interface:
XMLable
- Implement this method the same way the
toString
method would be implemented, except
the object's information should be in a valid XML format.
- Specified by:
toXML
in interface XMLable
- Overrides:
toXML
in class TestResultWithChildren
- Returns:
- a XML String representation of the results
toString
public String toString()
- Overrides:
toString
in class JameleonTestResult
- Returns:
- A String representation of the results
Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.