com.togethersoft.testing.host
Interface ITestResultAsset


public interface ITestResultAsset
extends IResult, ITestAsset

Represents file with testing results


Method Summary
 booleanisComplete()
          Returns true if the result is completed (the test finished running)
 voidsetContent(InputStream is)
          Reads the results from given stream
 voidsetIsComplete(boolean complete)
          Sets the complete flag for this result asset

Methods inherited from interface com.togethersoft.testing.shared.IResult
addResultListener, countErrors, countFailures, getAssetReferenceId, getChildTestResultCount, getDuration, getSinceStart, getTestName, getTestOutcome, getTimestamp, removeResultListener, setDuration, setSinceStart, setTestName, setTimestamp, taskReferences

Methods inherited from interface com.togethersoft.testing.host.ITestAsset
addUserObject, copy, cut, delete, getLocation, getParent, isReadOnly, pasteAttachments, removeUserObject, removeUserObjects, setAttribute, setName

Methods inherited from interface com.togethersoft.testing.shared.ITestAssetRO
getCategory

Methods inherited from interface com.togethersoft.testing.shared.IElementRO
getAttribute, getChild, getContent, getName, getRefId, getUserObjects, hasUserObject

Method Detail

isComplete

public boolean isComplete()
Returns true if the result is completed (the test finished running)

setContent

public void setContent(InputStream is)
throws SAXException,
java.io.IOException,
java.net.MalformedURLException
Reads the results from given stream

setIsComplete

public void setIsComplete(boolean complete)
Sets the complete flag for this result asset