net.sf.jameleon.result
Class CountableFunctionResult

java.lang.Object
  extended by net.sf.jameleon.result.JameleonTestResult
      extended by net.sf.jameleon.result.FunctionResult
          extended by 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

Field Summary
 
Fields inherited from class net.sf.jameleon.result.FunctionResult
postcondition, precondition, resultsFileName
 
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
CountableFunctionResult()
          The default constructor
CountableFunctionResult(FunctionalPoint tag)
           
CountableFunctionResult(FunctionalPoint tag, HasChildResults parentTestResult)
           
 
Method Summary
 void countFailure()
          Mark this result a failed
 boolean isCountableResultFailed()
          Get whether this result failed or not
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 results
parentTestResult - - The parent test results to update
Method Detail

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.