net.sf.jameleon.result
Class CountableFunctionResult
java.lang.Object
net.sf.jameleon.result.JameleonTestResult
net.sf.jameleon.result.FunctionResult
net.sf.jameleon.result.CountableFunctionResult
- All Implemented Interfaces:
- Serializable, CountableResult, XMLable, LocationAware
public class CountableFunctionResult
- extends FunctionResult
- implements CountableResult
An implementation of @see TestResult that represents the result of a function point
- 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 |
Methods inherited from class net.sf.jameleon.result.FunctionResult |
getErrorMsg, getErrorMsgPrefix, hasChildren, isDataDriven, isParent, isPostcondition, isPrecondition, setPostcondition, setPrecondition, toString, toXML |
Methods inherited from class net.sf.jameleon.result.JameleonTestResult |
copyLocationAwareProperties, destroy, equals, escapeXML, failed, findAncestorByClass, getColumnNumber, getDateTimeExecuted, getElementName, getError, getErrorFile, 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 |
CountableFunctionResult
public CountableFunctionResult()
- The default constructor
CountableFunctionResult
public CountableFunctionResult(FunctionalPoint tag)
- Parameters:
tag
- - The functional point tied to the results
CountableFunctionResult
public CountableFunctionResult(FunctionalPoint tag,
HasChildResults parentTestResult)
- Parameters:
tag
- - The functional point tied to the resultsparentTestResult
- - The parent test results to update
countFailure
public void countFailure()
- Mark this result a failed
- Specified by:
countFailure
in interface CountableResult
isCountableResultFailed
public boolean isCountableResultFailed()
- Get whether this result failed or not
- Specified by:
isCountableResultFailed
in interface CountableResult
- Returns:
- true if the result failed
Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.