net.sf.jameleon.result
Class DataDrivableRowResult
java.lang.Object
net.sf.jameleon.result.JameleonTestResult
net.sf.jameleon.result.TestResultWithChildren
net.sf.jameleon.result.DataDrivableRowResult
- All Implemented Interfaces:
- Serializable, HasChildResults, XMLable, LocationAware
- Direct Known Subclasses:
- CountableDataDrivableRowResult
public class DataDrivableRowResult
- extends TestResultWithChildren
An implementation of @see TestResult that represents the results of a data-drivable tag.
A DataDrivableRowResult can contain session results and function point results.
- See Also:
- Serialized Form
Field Summary |
protected Map |
rowData
The row data for the data-drivable tag |
protected int |
rowNum
The row number of exeuction for the data-drivable tag |
Fields inherited from class net.sf.jameleon.result.JameleonTestResult |
columnNumber, E_CDATA, elementTagName, error, errorFile, executionTime, failed, lineNumber, parentResults, S_CDATA, scriptFileName, tag |
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 |
rowNum
protected int rowNum
- The row number of exeuction for the data-drivable tag
rowData
protected Map rowData
- The row data for the data-drivable tag
DataDrivableRowResult
public DataDrivableRowResult(FunctionalPoint tag)
DataDrivableRowResult
public DataDrivableRowResult(FunctionalPoint tag,
HasChildResults parentResults)
getRowData
public Map getRowData()
setRowData
public void setRowData(Map rowData)
getRowNum
public int getRowNum()
setRowNum
public void setRowNum(int rowNum)
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.